[PATCH] powerpc/p1023rds: Fix the error of bank-width of nor flash

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE5471d

2 messages, 2 authors, 2011-08-31 · open the first message on its own page

[PATCH] powerpc/p1023rds: Fix the error of bank-width of nor flash

From: Chunhe Lan <hidden>
Date: 2011-08-12 10:58:14

In the p1023rds, a physical bus of nor flash is 16 bits width.
The bank-width is width (in bytes) of the bus width. So, the
value of bank-width of nor flash is not one, and it should be
two.

Signed-off-by: Chunhe Lan <redacted>
---
 arch/powerpc/boot/dts/p1023rds.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/boot/dts/p1023rds.dts b/arch/powerpc/boot/dts/p1023rds.dts
index bfa96aa..d9b7767 100644
--- a/arch/powerpc/boot/dts/p1023rds.dts
+++ b/arch/powerpc/boot/dts/p1023rds.dts
@@ -387,7 +387,7 @@
 			#size-cells = <1>;
 			compatible = "cfi-flash";
 			reg = <0x0 0x0 0x02000000>;
-			bank-width = <1>;
+			bank-width = <2>;
 			device-width = <1>;
 			partition@0 {
 				label = "ramdisk";
-- 
1.5.6.5

Re: [PATCH] powerpc/p1023rds: Fix the error of bank-width of nor flash

From: Kumar Gala <hidden>
Date: 2011-08-31 03:20:13

On Aug 12, 2011, at 6:00 AM, Chunhe Lan wrote:
In the p1023rds, a physical bus of nor flash is 16 bits width.
The bank-width is width (in bytes) of the bus width. So, the
value of bank-width of nor flash is not one, and it should be
two.

Signed-off-by: Chunhe Lan <redacted>
---
arch/powerpc/boot/dts/p1023rds.dts |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
applied to merge

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help