blackfin: reduce size of u-boot.ldr in bf548-ezkit default config.

Enable VIDEO and NAND supports only when the config options is defined.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
Bob Liu 2013-02-05 19:22:20 +08:00 committed by Sonic Zhang
parent c4239b5341
commit e0ae433e92

View File

@ -120,18 +120,16 @@
#define CONFIG_ENV_SECT_SIZE 0x8000 #define CONFIG_ENV_SECT_SIZE 0x8000
#endif #endif
/* /*
* NAND Settings * NAND Settings
*/ */
#define CONFIG_BFIN_NFC_CTL_VAL 0x0033
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_NAND) #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_NAND)
# define CONFIG_BFIN_NFC_BOOTROM_ECC #define CONFIG_BFIN_NFC_CTL_VAL 0x0033
#endif #define CONFIG_BFIN_NFC_BOOTROM_ECC
#define CONFIG_DRIVER_NAND_BFIN #define CONFIG_DRIVER_NAND_BFIN
#define CONFIG_SYS_NAND_BASE 0 /* not actually used */ #define CONFIG_SYS_NAND_BASE 0 /* not actually used */
#define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_MAX_NAND_DEVICE 1
#endif
/* /*
* I2C Settings * I2C Settings
@ -184,13 +182,10 @@
#define CONFIG_UART_CONSOLE 1 #define CONFIG_UART_CONSOLE 1
#define CONFIG_BFIN_SPI_IMG_SIZE 0x50000 #define CONFIG_BFIN_SPI_IMG_SIZE 0x50000
#ifndef __ADSPBF542__ #undef CONFIG_VIDEO
/* Don't waste time transferring a logo over the UART */ #ifdef CONFIG_VIDEO
# if (CONFIG_BFIN_BOOT_MODE != BFIN_BOOT_UART) #define EASYLOGO_HEADER < asm/bfin_logo_230x230_gzip.h >
# define CONFIG_VIDEO #define CONFIG_DEB_DMA_URGENT
# define EASYLOGO_HEADER <asm/bfin_logo_230x230_gzip.h>
# endif
# define CONFIG_DEB_DMA_URGENT
#endif #endif
/* Define if want to do post memory test */ /* Define if want to do post memory test */