Skip to content

Commit a532fcc

Browse files
ukleinekdlech
authored andcommitted
arm: dts: socfpga_cyclone5_de10_nano_hps: Fix address in spi bus label
Having 9 digit hex constant is irritating at best. I was told by a friend that if you want to add 0xff200000 and 0x00010a000, you might easily end up with something starting with 0xff210a... Strip the leading zeros and the 0x prefix which matches the policy in upstream Linux. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
1 parent 91f1670 commit a532fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/dts/socfpga_cyclone5_de10_nano_hps.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
gpio-controller;
127127
};
128128

129-
spi@0x00010A000 {
129+
spi@10a000 {
130130
compatible = "altr,spi-18.1", "altr,spi-1.0";
131131
reg = <0x0010a000 0x00000020>;
132132
interrupt-parent = <&intc>;

0 commit comments

Comments
 (0)