]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/83xx/km: added missing enable of application buffer
authorStefan Bigler <stefan.bigler@keymile.com>
Fri, 4 May 2012 08:55:55 +0000 (10:55 +0200)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 15 Jun 2012 22:12:40 +0000 (17:12 -0500)
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>
board/keymile/common/common.h
board/keymile/km83xx/km83xx.c

index 6c1f6400c25e4808a08f5638a578629f997e497d..db117c77c08bcc2200e39377faa39b522932859c 100644 (file)
@@ -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
index 1043ccd9a779d58ff3b90051f520fe84fb2a0024..a889750ff09e095eb5b23f05e3cccc2462c7bb08 100644 (file)
@@ -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 */