From 5758dd7633aead9ee4d0f453cef51f2acd3df3dc Mon Sep 17 00:00:00 2001 From: Stefan Bigler Date: Fri, 4 May 2012 10:55:55 +0200 Subject: [PATCH] powerpc/83xx/km: added missing enable of application buffer Enabled application buffers in uboot to allow application chipselect access in uboot. Signed-off-by: Stefan Bigler Signed-off-by: Kim Phillips --- board/keymile/common/common.h | 2 ++ board/keymile/km83xx/km83xx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/board/keymile/common/common.h b/board/keymile/common/common.h index 6c1f6400c2..db117c77c0 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 1043ccd9a7..a889750ff0 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 */ -- 2.39.5