summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bigler <stefan.bigler@keymile.com>2012-05-04 10:55:55 +0200
committerKim Phillips <kim.phillips@freescale.com>2012-06-15 17:12:40 -0500
commit5758dd7633aead9ee4d0f453cef51f2acd3df3dc (patch)
treeaa5a7294f1f523a3a41c369203d4046d7780f048
parent31dd8988e23955488f7bb8a6ed219ba21adf66bd (diff)
downloadu-boot-imx-5758dd7633aead9ee4d0f453cef51f2acd3df3dc.zip
u-boot-imx-5758dd7633aead9ee4d0f453cef51f2acd3df3dc.tar.gz
u-boot-imx-5758dd7633aead9ee4d0f453cef51f2acd3df3dc.tar.bz2
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 <stefan.bigler@keymile.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rw-r--r--board/keymile/common/common.h2
-rw-r--r--board/keymile/km83xx/km83xx.c2
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 */