adder875: Fix flash bus-width and remove duplicate __initdata.
PATCH 1/1 adder875: Fix flash bus-width and remove duplicate __initdata.
Signed-off-by Scott Wood <[email protected]>
--- arch/powerpc/boot/dts/adder875-redboot.dts | 2 +- arch/powerpc/boot/dts/adder875-uboot.dts | 2 +- arch/powerpc/platforms/8xx/adder875.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
arch/powerpc/boot/dts/adder875-redboot.dts +1 -1
@@ -62,7 +62,7 @@ flash@0,0 { compatible = "cfi-flash"; reg = <0 0 0x800000>; - bank-width = <4>; + bank-width = <2>; device-width = <2>; }; };
arch/powerpc/boot/dts/adder875-uboot.dts +1 -1
@@ -61,7 +61,7 @@ flash@0,0 { compatible = "cfi-flash"; reg = <0 0 0x800000>; - bank-width = <4>; + bank-width = <2>; device-width = <2>; }; };
arch/powerpc/platforms/8xx/adder875.c +1 -1
@@ -92,7 +92,7 @@ static int __init adder875_probe(void)return of_flat_dt_is_compatible (root,"analogue-and-micro,adder875" ); } -static __initdata struct of_device_id __initdata of_bus_ids[] = { +static __initdata struct of_device_id of_bus_ids[] = { { .compatible ="simple-bus" , }, {}, };
Signature · 1 line
1.5.3.8
Quoted 12 lines · Scott Wood
Signed-off-by Scott Wood <[email protected]>---
arch/powerpc/boot/dts/adder875-redboot.dts | 2 +- arch/powerpc/boot/dts/adder875-uboot.dts | 2 +- arch/powerpc/platforms/8xx/adder875.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)arch/powerpc/boot/dts/adder875-redboot.dts +0
-0
arch/powerpc/boot/dts/adder875-redboot.dts line 68
Quoted 8 lines
arch/powerpc/boot/dts/adder875-redboot.dts +1
-1@@ -62,7 +62,7 @@ flash@0,0 { compatible = "cfi-flash"; reg = <0 0 0x800000>; - bank-width = <4>; + bank-width = <2>; device-width = <2>; }; };
I'm assuming the bank-width was just wrong before?
- k
Quoted 9 lines · Kumar Gala
Quoted 7 lines · Scott Wood
Signed-off-by Scott Wood <[email protected]>---
arch/powerpc/boot/dts/adder875-redboot.dts | 2 +- arch/powerpc/boot/dts/adder875-uboot.dts | 2 +- arch/powerpc/platforms/8xx/adder875.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Quoted 15 lines
arch/powerpc/boot/dts/adder875-redboot.dts line 68
Quoted 13 lines
arch/powerpc/boot/dts/adder875-redboot.dts +1
-1@@ -62,7 +62,7 @@ flash@0,0 { compatible = "cfi-flash"; reg = <0 0 0x800000>; - bank-width = <4>; + bank-width = <2>; device-width = <2>; }; };I'm assuming the bank-width was just wrong before?
Yes, I got a bug report (off-list) about it today. I thought I had tested it a while back; maybe the dts got reverted to an older version somewhere along the way.
-Scott
Kumar Gala
AppliedQuoted 7 lines · Scott Wood
Signed-off-by Scott Wood <[email protected]>--- arch/powerpc/boot/dts/adder875-redboot.dts | 2 +- arch/powerpc/boot/dts/adder875-uboot.dts | 2 +- arch/powerpc/platforms/8xx/adder875.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
applied.
- k