sbc8349: fix incorrect comment
PATCH 1/1 sbc8349: fix incorrect comment
The comment for the BR0_PRELIM port size initialization incorrectly stated 32 bit, while it's actually 16 bit. The code is correct.
--- include/configs/sbc8349.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/sbc8349.h +1 -1
@@ -158,7 +158,7 @@/* #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE */ #define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE |/* flash Base address */ \ - (2 << BR_PS_SHIFT) | /* 32 bit port size */ \ + (2 << BR_PS_SHIFT) | /* 16 bit port size */ \ BR_V) /* valid */#define CONFIG_SYS_OR0_PRELIM 0xFF806FF7/* 8 MB flash size */
Signature · 1 line
1.6.2.5
PATCH 1/1 sbc8349: fix incorrect comment
Quoted 2 lines · Wolfgang Denk
The comment for the
BR0_PRELIMport size initialization incorrectly stated 32 bit, while it's actually 16 bit. The code is correct.
Thanks -- at some point I'll go and change them all to use the more human readable BR_PS_16 and similar.
Paul.
Quoted 28 lines
Reported-by Guenter Koellner <[email protected]>Signed-off-by Wolfgang Denk <[email protected]>---
?include/configs/sbc8349.h | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)include/configs/sbc8349.h +0
-0@@ -158,7 +158,7 @@?/* #define
CONFIG_SYS_FLASH_USE_BUFFER_WRITE*/?#define
CONFIG_SYS_BR0_PRELIM? ? ? ? ?(CONFIG_SYS_FLASH_BASE | ? ? ? ?/* flash Base address */ \
- ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (2 <<BR_PS_SHIFT) | ? ?/* 32 bit port size */ ? \
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (2 <<BR_PS_SHIFT) | ? ?/* 16 bit port size */ ? \
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?BR_V) ? ? ? ? ? ? ? ? ? /* valid */?#define
CONFIG_SYS_OR0_PRELIM? ? ? ? ?0xFF806FF7 ? ? ?/* 8 MB flash size */ --
1.6.2.5_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot