diff options
author | wdenk <wdenk> | 2003-09-02 22:48:03 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-09-02 22:48:03 +0000 |
commit | 12f34241cb9679c27a1ab3561766562f5a515eff (patch) | |
tree | e6408a1701c7dabf3e2ceb1326ce2f5cc8657c96 /board/evb64260/evb64260.c | |
parent | 326428cc8bbdddb30920a96b672abd0d59833ce4 (diff) | |
download | u-boot-imx-12f34241cb9679c27a1ab3561766562f5a515eff.zip u-boot-imx-12f34241cb9679c27a1ab3561766562f5a515eff.tar.gz u-boot-imx-12f34241cb9679c27a1ab3561766562f5a515eff.tar.bz2 |
* Add support for PPChameleon Eval Board
* Add support for P3G4 board
* Fix problem with MGT5100 FEC driver: add "early" MAC address
initialization
Diffstat (limited to 'board/evb64260/evb64260.c')
-rw-r--r-- | board/evb64260/evb64260.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/board/evb64260/evb64260.c b/board/evb64260/evb64260.c index 4f3032e..99717be 100644 --- a/board/evb64260/evb64260.c +++ b/board/evb64260/evb64260.c @@ -237,7 +237,7 @@ int board_pre_init (void) * on-board sram on the eval board, and updates the correct * registers to boot from the sram. (device0) */ -#ifdef CONFIG_ZUMA_V2 +#if defined(CONFIG_ZUMA_V2) || defined(CONFIG_P3G4) /* Zuma has no SRAM */ sram_boot = 0; #else @@ -265,6 +265,7 @@ int board_pre_init (void) GT_REG_WRITE(DEVICE_BANK2PARAMETERS, CFG_DEV2_PAR); #endif +#ifdef CONFIG_EVB64260 #ifdef CFG_32BIT_BOOT_PAR /* detect if we are booting from the 32 bit flash */ if (GTREGREAD(DEVICE_BOOT_BANK_PARAMETERS) & (0x3 << 20)) { @@ -280,6 +281,11 @@ int board_pre_init (void) /* 8 bit boot flash only */ GT_REG_WRITE(DEVICE_BOOT_BANK_PARAMETERS, CFG_8BIT_BOOT_PAR); #endif +#else /* CONFIG_EVB64260 not defined */ + /* We are booting from 16-bit flash. + */ + GT_REG_WRITE(DEVICE_BOOT_BANK_PARAMETERS, CFG_16BIT_BOOT_PAR); +#endif gt_cpu_config(); @@ -351,7 +357,7 @@ checkboard (void) void debug_led(int led, int mode) { -#ifndef CONFIG_ZUMA_V2 +#if !defined(CONFIG_ZUMA_V2) && !defined(CONFIG_P3G4) volatile int *addr = NULL; int dummy; |