[U-Boot] [PATCH 3/6] powerpc/83xx/km: added missing enable of application buffer

Holger Brunck holger.brunck at keymile.com
Fri May 4 10:55:55 CEST 2012


From: Stefan Bigler <stefan.bigler at keymile.com>

Enabled application buffers in uboot to allow application chipselect
access in uboot.

Signed-off-by: Stefan Bigler <stefan.bigler at keymile.com>
---
 board/keymile/common/common.h |    2 ++
 board/keymile/km83xx/km83xx.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/keymile/common/common.h b/board/keymile/common/common.h
index 6c1f640..db117c7 100644
--- a/board/keymile/common/common.h
+++ b/board/keymile/common/common.h
@@ -16,6 +16,8 @@
 #define WRG_LED		0x02
 #define WRL_BOOT	0x01
 
+#define OPRTL_XBUFENA	0x20
+
 #define H_OPORTS_SCC4_ENA	0x10
 #define H_OPORTS_SCC4_FD_ENA	0x04
 #define H_OPORTS_FCC1_PW_DWN	0x01
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index 1043ccd..a889750 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -173,6 +173,8 @@ int board_early_init_r(void)
 	setbits_8(&base->pgy_eth, 0x01);
 	/* enable the Unit LED (green) */
 	setbits_8(&base->oprth, WRL_BOOT);
+	/* enable Application Buffer */
+	setbits_8(&base->oprtl, OPRTL_XBUFENA);
 
 #if defined(CONFIG_SUVD3)
 	/* configure UPMA for APP1 */
-- 
1.7.1



More information about the U-Boot mailing list