Skip to contentSkip to conversation

sbc8349: fix incorrect comment

PATCH New Wolfgang Denk 2 participants 2 messages Oct 28, 2009

lore
Share & tools
lore
#0 lore raw

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
index 4dea27d..7bef119 100644
@@ -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
#1 lore raw

PATCH 1/1 sbc8349: fix incorrect comment

Quoted 2 lines · Wolfgang Denk

The comment for the BR0_PRELIM port 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

---
?include/configs/sbc8349.h | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)

include/configs/sbc8349.h +0 -0
index 4dea27d..7bef119 100644
@@ -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