Bläddra i källkod

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>
Stefan Bigler 13 år sedan
förälder
incheckning
5758dd7633
2 ändrade filer med 4 tillägg och 0 borttagningar
  1. 2 0
      board/keymile/common/common.h
  2. 2 0
      board/keymile/km83xx/km83xx.c

+ 2 - 0
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

+ 2 - 0
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 */