In config files which it is clear when CONFIG_SYS_NO_FLASH will be set (either unconditionally or based on logic that can happen early in the config file), ensure that we set that _before_ we include config_cmd_default.h so that the logic in that file will not enable CONFIG_CMD_(FLASH|IMLS). This saves us from having to undef it in the board files.
Signed-off-by: Tom Rini <tr...@ti.com> --- include/configs/PN62.h | 5 +--- include/configs/SIMPC8313.h | 5 +--- include/configs/afeb9260.h | 5 +--- include/configs/am3517_crane.h | 4 +-- include/configs/am3517_evm.h | 4 +-- include/configs/at91sam9260ek.h | 5 +--- include/configs/at91sam9261ek.h | 5 +--- include/configs/at91sam9m10g45ek.h | 5 +--- include/configs/at91sam9rlek.h | 5 +--- include/configs/bf525-ucr2.h | 5 +--- include/configs/bf537-minotaur.h | 11 +--------- include/configs/bf537-srv1.h | 11 +--------- include/configs/blackstamp.h | 15 +++++-------- include/configs/blackvme.h | 13 ++++------- include/configs/cm_t35.h | 4 +-- include/configs/coreboot.h | 11 +--------- include/configs/davinci_schmoogie.h | 2 - include/configs/davinci_sffsdr.h | 2 - include/configs/devkit8000.h | 2 +- include/configs/dig297.h | 4 +-- include/configs/igep00x0.h | 5 +--- include/configs/mcx.h | 4 +-- include/configs/meesc.h | 5 +--- include/configs/mx31pdk.h | 10 +-------- include/configs/mx51evk.h | 6 +--- include/configs/mx53ard.h | 5 +--- include/configs/mx53evk.h | 5 +--- include/configs/mx53loco.h | 5 +--- include/configs/mx53smd.h | 5 +--- include/configs/mx6qarm2.h | 5 +--- include/configs/mx6qsabrelite.h | 5 +--- include/configs/nhk8815.h | 5 +--- include/configs/omap3_beagle.h | 4 +-- include/configs/omap3_logic.h | 5 +--- include/configs/omap3_mvblx.h | 5 +--- include/configs/omap3_overo.h | 4 +-- include/configs/omap3_pandora.h | 4 +-- include/configs/omap3_zoom1.h | 4 +-- include/configs/omap3_zoom2.h | 4 +-- include/configs/omap4_common.h | 5 +--- include/configs/omap5_evm.h | 5 +--- include/configs/origen.h | 3 +- include/configs/otc570.h | 5 +--- include/configs/pm9g45.h | 6 +---- include/configs/sbc35_a9g20.h | 5 +--- include/configs/smdk5250.h | 3 +- include/configs/smdkc100.h | 5 +--- include/configs/snapper9260.h | 1 - include/configs/tam3517-common.h | 5 +--- include/configs/tegra2-common.h | 5 +--- include/configs/tny_a9260.h | 5 +--- include/configs/vct.h | 5 ---- include/configs/vision2.h | 4 +-- include/configs/xilinx-ppc.h | 38 ++++++++++++++++------------------ 54 files changed, 77 insertions(+), 241 deletions(-) diff --git a/include/configs/PN62.h b/include/configs/PN62.h index dae4577..ddaffc1 100644 --- a/include/configs/PN62.h +++ b/include/configs/PN62.h @@ -56,13 +56,12 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* There is no FLASH memory */ #include <config_cmd_default.h> #define CONFIG_CMD_PCI #define CONFIG_CMD_BSP -#undef CONFIG_CMD_FLASH -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_SAVEENV #undef CONFIG_CMD_SOURCE @@ -157,8 +156,6 @@ #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -#define CONFIG_SYS_NO_FLASH 1 /* There is no FLASH memory */ - #define CONFIG_ENV_IS_NOWHERE 1 /* Store ENV in memory only */ #define CONFIG_ENV_OFFSET 0x00004000 /* Offset of Environment Sector */ #define CONFIG_ENV_SIZE 0x00002000 /* Total Size of Environment Sector */ diff --git a/include/configs/SIMPC8313.h b/include/configs/SIMPC8313.h index 0976077..8b51f6c 100644 --- a/include/configs/SIMPC8313.h +++ b/include/configs/SIMPC8313.h @@ -105,8 +105,6 @@ /* * FLASH on the Local Bus */ -#define CONFIG_SYS_NO_FLASH - #if !defined(CONFIG_NAND_SPL) #define CONFIG_SYS_RAMBOOT #endif @@ -347,9 +345,8 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS -#undef CONFIG_CMD_FLASH #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP diff --git a/include/configs/afeb9260.h b/include/configs/afeb9260.h index 2adf8f9..23506af 100644 --- a/include/configs/afeb9260.h +++ b/include/configs/afeb9260.h @@ -72,11 +72,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* NOR flash - no real flash on this board */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_SOURCE @@ -117,9 +117,6 @@ #endif -/* NOR flash - no real flash on this board */ -#define CONFIG_SYS_NO_FLASH - /* Ethernet */ #define CONFIG_MACB #define CONFIG_RESET_PHY_R diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h index 71321f3..904e143 100644 --- a/include/configs/am3517_crane.h +++ b/include/configs/am3517_crane.h @@ -136,6 +136,7 @@ #endif /* CONFIG_USB_AM35X */ /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_EXT2 /* EXT2 Support */ @@ -148,12 +149,9 @@ #define CONFIG_CMD_DHCP #define CONFIG_CMD_PING -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C 1 #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index bbd19de..1cab76a 100644 --- a/include/configs/am3517_evm.h +++ b/include/configs/am3517_evm.h @@ -135,6 +135,7 @@ #endif /* CONFIG_USB_AM35X */ /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_EXT2 /* EXT2 Support */ @@ -147,12 +148,9 @@ #define CONFIG_CMD_DHCP #define CONFIG_CMD_PING -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C 1 #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h index db52ee6..7376e16 100644 --- a/include/configs/at91sam9260ek.h +++ b/include/configs/at91sam9260ek.h @@ -93,11 +93,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* NOR flash - no real flash on this board */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_SOURCE @@ -155,9 +155,6 @@ #define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PC13 #endif -/* NOR flash - no real flash on this board */ -#define CONFIG_SYS_NO_FLASH 1 - /* Ethernet */ #define CONFIG_MACB 1 #define CONFIG_RMII 1 diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h index 5140b26..4dc617a 100644 --- a/include/configs/at91sam9261ek.h +++ b/include/configs/at91sam9261ek.h @@ -103,11 +103,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* NOR flash - no real flash on this board */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_SOURCE @@ -149,9 +149,6 @@ #endif -/* NOR flash - no real flash on this board */ -#define CONFIG_SYS_NO_FLASH - /* Ethernet */ #define CONFIG_DRIVER_DM9000 #define CONFIG_DM9000_BASE 0x30000000 diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h index 6a02188..c685573 100644 --- a/include/configs/at91sam9m10g45ek.h +++ b/include/configs/at91sam9m10g45ek.h @@ -102,11 +102,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* No NOR flash */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_AUTOSCRIPT #undef CONFIG_CMD_LOADS @@ -123,9 +123,6 @@ #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_SDRAM_BASE + 4 * 1024 - GENERATED_GBL_DATA_SIZE) -/* No NOR flash */ -#define CONFIG_SYS_NO_FLASH - /* NAND flash */ #ifdef CONFIG_CMD_NAND #define CONFIG_NAND_ATMEL diff --git a/include/configs/at91sam9rlek.h b/include/configs/at91sam9rlek.h index 79ea1f2..f502a6b 100644 --- a/include/configs/at91sam9rlek.h +++ b/include/configs/at91sam9rlek.h @@ -90,11 +90,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* NOR flash - not present */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_NET #undef CONFIG_CMD_NFS @@ -121,9 +121,6 @@ #define DATAFLASH_TCSS (0x1a << 16) #define DATAFLASH_TCHS (0x1 << 24) -/* NOR flash - not present */ -#define CONFIG_SYS_NO_FLASH 1 - /* NAND flash */ #ifdef CONFIG_CMD_NAND #define CONFIG_NAND_ATMEL diff --git a/include/configs/bf525-ucr2.h b/include/configs/bf525-ucr2.h index 1f65130..01af7bf 100644 --- a/include/configs/bf525-ucr2.h +++ b/include/configs/bf525-ucr2.h @@ -62,9 +62,6 @@ #define CONFIG_SYS_MONITOR_LEN (320 * 1024) #define CONFIG_SYS_MALLOC_LEN (320 * 1024) -/* We don't have a parallel flash chip */ -#define CONFIG_SYS_NO_FLASH - /* support for serial flash */ #define CONFIG_BFIN_SPI #define CONFIG_SPI_FLASH @@ -94,9 +91,9 @@ "bootm 0x1000000\0" /* this sets up the default list of enabled commands */ +#define CONFIG_SYS_NO_FLASH /* We don't have a parallel flash chip */ #include <config_cmd_default.h> #undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ #undef CONFIG_CMD_NFS -#undef CONFIG_CMD_IMLS #endif diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-minotaur.h index ef9d236..033125e 100644 --- a/include/configs/bf537-minotaur.h +++ b/include/configs/bf537-minotaur.h @@ -89,14 +89,6 @@ /* Uncomment next line to use fixed MAC address */ /* #define CONFIG_ETHADDR 02:80:ad:20:31:42 */ - -/* - * Flash Settings - */ -/* We don't have a parallel flash chip there */ -#define CONFIG_SYS_NO_FLASH - - /* * SPI Settings */ @@ -148,6 +140,7 @@ # define CONFIG_BOOTDELAY 5 #endif +#define CONFIG_SYS_NO_FLASH /* We don't have a parallel flash chip there */ #include <config_cmd_default.h> #ifdef CONFIG_BFIN_MAC @@ -162,9 +155,7 @@ #define CONFIG_CMD_CACHE #define CONFIG_CMD_DATE #define CONFIG_CMD_ELF -#undef CONFIG_CMD_FLASH #define CONFIG_CMD_I2C -#undef CONFIG_CMD_IMLS #define CONFIG_CMD_SF #define CONFIG_BOOTCOMMAND "run ramboot" diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h index 52d5d97..ffa195c 100644 --- a/include/configs/bf537-srv1.h +++ b/include/configs/bf537-srv1.h @@ -89,14 +89,6 @@ /* Uncomment next line to use fixed MAC address */ /* #define CONFIG_ETHADDR 02:80:ad:20:31:42 */ - -/* - * Flash Settings - */ -/* We don't have a parallel flash chip there */ -#define CONFIG_SYS_NO_FLASH - - /* * SPI Settings */ @@ -148,6 +140,7 @@ # define CONFIG_BOOTDELAY 5 #endif +#define CONFIG_SYS_NO_FLASH /* We don't have a parallel flash chip there */ #include <config_cmd_default.h> #ifdef CONFIG_BFIN_MAC @@ -162,9 +155,7 @@ #define CONFIG_CMD_CACHE #define CONFIG_CMD_DATE #define CONFIG_CMD_ELF -#undef CONFIG_CMD_FLASH #define CONFIG_CMD_I2C -#undef CONFIG_CMD_IMLS #define CONFIG_CMD_SF #define CONFIG_BOOTCOMMAND "run flashboot" diff --git a/include/configs/blackstamp.h b/include/configs/blackstamp.h index 64fce30..ca1e237 100644 --- a/include/configs/blackstamp.h +++ b/include/configs/blackstamp.h @@ -106,6 +106,12 @@ #define CONFIG_AUTO_COMPLETE 1 #define CONFIG_ENV_OVERWRITE 1 +/* Even though Rev C boards have Parallel Flash + * We aren't supporting it. Newer versions of the + * hardware don't support Parallel Flash at all. + */ +#define CONFIG_SYS_NO_FLASH + #include <config_cmd_default.h> #ifdef CONFIG_SMC91111 @@ -236,13 +242,4 @@ #define CONFIG_EBIU_SDRRC_VAL 0x268 #define CONFIG_EBIU_SDGCTL_VAL 0x911109 -/* Even though Rev C boards have Parallel Flash - * We aren't supporting it. Newer versions of the - * hardware don't support Parallel Flash at all. - */ -#define CONFIG_SYS_NO_FLASH -#undef CONFIG_CMD_IMLS -#undef CONFIG_CMD_JFFS2 -#undef CONFIG_CMD_FLASH - #endif diff --git a/include/configs/blackvme.h b/include/configs/blackvme.h index f2dc6aa..6429413 100644 --- a/include/configs/blackvme.h +++ b/include/configs/blackvme.h @@ -156,6 +156,11 @@ #define CONFIG_CMDLINE_EDITING 1 #define CONFIG_AUTO_COMPLETE 1 +/* + * No Parallel Flash on this board + */ +#define CONFIG_SYS_NO_FLASH + #include <config_cmd_default.h> #define CONFIG_CMD_BOOTLDR @@ -232,12 +237,4 @@ # define CONFIG_SYS_I2C_SLAVE 0xFE #endif -/* - * No Parallel Flash on this board - */ -#define CONFIG_SYS_NO_FLASH -#undef CONFIG_CMD_IMLS -#undef CONFIG_CMD_JFFS2 -#undef CONFIG_CMD_FLASH - #endif diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index fe91c10..90af9db 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -124,6 +124,7 @@ #define CONFIG_SYS_CONSOLE_IS_IN_ENV /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_CACHE @@ -143,11 +144,8 @@ #define CONFIG_CMD_DHCP #define CONFIG_CMD_PING -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ -#undef CONFIG_CMD_IMLS /* List all found images */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 2c65d74..121f2cd 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -103,6 +103,7 @@ /*----------------------------------------------------------------------- * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> #define CONFIG_CMD_BDI @@ -110,10 +111,8 @@ #define CONFIG_CMD_CONSOLE #define CONFIG_CMD_DATE #define CONFIG_CMD_ECHO -#undef CONFIG_CMD_FLASH #define CONFIG_CMD_FPGA #define CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #define CONFIG_CMD_IRQ #define CONFIG_CMD_ITEST #define CONFIG_CMD_LOADB @@ -198,14 +197,6 @@ #define CONFIG_ENV_OVERWRITE /*----------------------------------------------------------------------- - * FLASH configuration - */ -#define CONFIG_SYS_NO_FLASH -#undef CONFIG_FLASH_CFI_DRIVER -#define CONFIG_SYS_MAX_FLASH_SECT 1 -#define CONFIG_SYS_MAX_FLASH_BANKS 1 - -/*----------------------------------------------------------------------- * Environment configuration */ #define CONFIG_ENV_IS_NOWHERE diff --git a/include/configs/davinci_schmoogie.h b/include/configs/davinci_schmoogie.h index 949174a..19a185f 100644 --- a/include/configs/davinci_schmoogie.h +++ b/include/configs/davinci_schmoogie.h @@ -145,8 +145,6 @@ #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_SETGETDCR -#undef CONFIG_CMD_FLASH -#undef CONFIG_CMD_IMLS #ifdef CONFIG_CMD_BDI #define CONFIG_CLOCKS diff --git a/include/configs/davinci_sffsdr.h b/include/configs/davinci_sffsdr.h index c931ede..2f95adc 100644 --- a/include/configs/davinci_sffsdr.h +++ b/include/configs/davinci_sffsdr.h @@ -138,8 +138,6 @@ #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_SETGETDCR -#undef CONFIG_CMD_FLASH -#undef CONFIG_CMD_IMLS #ifdef CONFIG_CMD_BDI #define CONFIG_CLOCKS diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index eb7c376..9f521c8 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/devkit8000.h @@ -116,7 +116,6 @@ #define CONFIG_TWL4030_LED 1 /* Board NAND Info */ -#define CONFIG_SYS_NO_FLASH /* no NOR flash */ #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define MTDIDS_DEFAULT "nand0=nand" #define MTDPARTS_DEFAULT "mtdparts=nand:" \ @@ -145,6 +144,7 @@ /* partition */ /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* no NOR flash */ #include <config_cmd_default.h> #define CONFIG_CMD_DHCP /* DHCP support */ diff --git a/include/configs/dig297.h b/include/configs/dig297.h index 1626b0e..4e4b7a3 100644 --- a/include/configs/dig297.h +++ b/include/configs/dig297.h @@ -115,6 +115,7 @@ #define CONFIG_LZO /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_FAT /* FAT support */ @@ -130,14 +131,11 @@ #define CONFIG_CMD_MMC /* MMC support */ #define CONFIG_CMD_NAND /* NAND support */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ #define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ #undef CONFIG_CMD_NFS /* NFS support */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h index d2b4b84..37630e2 100644 --- a/include/configs/igep00x0.h +++ b/include/configs/igep00x0.h @@ -98,6 +98,7 @@ #define CONFIG_USBD_PRODUCT_NAME "IGEP" /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_CACHE @@ -113,10 +114,6 @@ #define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */ #define CONFIG_MTD_DEVICE -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ -#undef CONFIG_CMD_IMLS /* List all found images */ - -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C 1 #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/mcx.h b/include/configs/mcx.h index e190e3e..c839030 100644 --- a/include/configs/mcx.h +++ b/include/configs/mcx.h @@ -118,6 +118,7 @@ #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3 /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_EXT2 /* EXT2 Support */ @@ -141,12 +142,9 @@ #define CONFIG_MTD_DEVICE #define CONFIG_CMD_MTDPARTS -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/meesc.h b/include/configs/meesc.h index db1e87d..2f69995 100644 --- a/include/configs/meesc.h +++ b/include/configs/meesc.h @@ -105,11 +105,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* NOR flash is not populated, disable it */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_LOADS -#undef CONFIG_CMD_IMLS #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP @@ -151,9 +151,6 @@ # define DATAFLASH_TCHS (0x1 << 24) #endif -/* NOR flash is not populated, disable it */ -#define CONFIG_SYS_NO_FLASH - /* NAND flash */ #ifdef CONFIG_CMD_NAND # define CONFIG_NAND_ATMEL diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 49d440b..7e3ad93 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -91,6 +91,7 @@ * Command definition ***********************************************************/ +#define CONFIG_SYS_NO_FLASH /* No NOR flash present */ #include <config_cmd_default.h> #define CONFIG_CMD_MII @@ -100,12 +101,6 @@ #define CONFIG_CMD_DATE #define CONFIG_CMD_NAND -/* - * Disabled due to compilation errors in cmd_bootm.c (IMLS seems to require - * that CFG_NO_FLASH is undefined). - */ -#undef CONFIG_CMD_IMLS - #define CONFIG_BOARD_LATE_INIT #define CONFIG_BOOTDELAY 3 @@ -176,9 +171,6 @@ /*----------------------------------------------------------------------- * FLASH and environment organization */ -/* No NOR flash present */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_IS_IN_NAND #define CONFIG_ENV_OFFSET 0x40000 #define CONFIG_ENV_OFFSET_REDUND 0x60000 diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 1477b21..537883f 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -133,9 +133,9 @@ * Command definition ***********************************************************/ -#include <config_cmd_default.h> +#define CONFIG_SYS_NO_FLASH -#undef CONFIG_CMD_IMLS +#include <config_cmd_default.h> #define CONFIG_CMD_DATE @@ -237,8 +237,6 @@ /*----------------------------------------------------------------------- * FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_OFFSET (6 * 64 * 1024) #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h index f48a41e..22d0af7 100644 --- a/include/configs/mx53ard.h +++ b/include/configs/mx53ard.h @@ -83,10 +83,9 @@ #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200} /* Command definition */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS - #define CONFIG_BOOTDELAY 3 #define CONFIG_ETHPRIME "smc911x" @@ -179,8 +178,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_OFFSET (6 * 64 * 1024) #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h index a77e5b2..7174b5f 100644 --- a/include/configs/mx53evk.h +++ b/include/configs/mx53evk.h @@ -97,10 +97,9 @@ #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200} /* Command definition */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS - #define CONFIG_BOOTDELAY 3 #define CONFIG_ETHPRIME "FEC0" @@ -186,8 +185,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_OFFSET (6 * 64 * 1024) #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 34a4edd..d02dff4 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -92,10 +92,9 @@ #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200} /* Command definition */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS - #define CONFIG_BOOTDELAY 3 #define CONFIG_ETHPRIME "FEC0" @@ -184,8 +183,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_OFFSET (6 * 64 * 1024) #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h index a04db3f..d60d1a9 100644 --- a/include/configs/mx53smd.h +++ b/include/configs/mx53smd.h @@ -86,10 +86,9 @@ #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200} /* Command definition */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS - #define CONFIG_BOOTDELAY 3 #define CONFIG_ETHPRIME "FEC0" @@ -177,8 +176,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_OFFSET (6 * 64 * 1024) #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index 0962d3c..9570edb 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -73,10 +73,9 @@ #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200} /* Command definition */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS - #define CONFIG_BOOTDELAY 3 #define CONFIG_LOADADDR 0x10800000 @@ -160,8 +159,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_OFFSET (6 * 64 * 1024) #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 8bc8a83..0471394 100644 --- a/include/configs/mx6qsabrelite.h +++ b/include/configs/mx6qsabrelite.h @@ -104,10 +104,9 @@ #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200} /* Command definition */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_IMLS - #define CONFIG_BOOTDELAY 3 #define CONFIG_LOADADDR 0x10800000 @@ -191,8 +190,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h index 20db397..9e09b8c 100644 --- a/include/configs/nhk8815.h +++ b/include/configs/nhk8815.h @@ -36,16 +36,13 @@ #define CONFIG_SKIP_LOWLEVEL_INIT /* we have already been loaded to RAM */ /* commands */ +#define CONFIG_SYS_NO_FLASH /* There is no NOR flash */ #include <config_cmd_default.h> #define CONFIG_CMD_NET #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP #define CONFIG_CMD_NFS -/* There is no NOR flash, so undefine these commands */ -#undef CONFIG_CMD_FLASH -#undef CONFIG_CMD_IMLS -#define CONFIG_SYS_NO_FLASH /* There is NAND storage */ #define CONFIG_NAND_NOMADIK #define CONFIG_CMD_JFFS2 diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index d3a0122..d1a9e41 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -144,6 +144,7 @@ /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_CACHE @@ -168,12 +169,9 @@ #define CONFIG_CMD_DHCP #define CONFIG_CMD_SETEXPR /* Evaluate expressions */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C 1 #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 01360f6..d16a994 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -102,6 +102,7 @@ #define CONFIG_DOS_PARTITION /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_CACHE @@ -124,12 +125,8 @@ #define CONFIG_CMD_DHCP #define CONFIG_CMD_SETECPR /* Evaluate expressions */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ - -#define CONFIG_SYS_NO_FLASH /* * I2C diff --git a/include/configs/omap3_mvblx.h b/include/configs/omap3_mvblx.h index b819d21..42665ba 100644 --- a/include/configs/omap3_mvblx.h +++ b/include/configs/omap3_mvblx.h @@ -119,10 +119,8 @@ #define CONFIG_USBD_MANUFACTURER "MATRIX VISION GmbH" #define CONFIG_USBD_PRODUCT_NAME "mvBlueLYNX-X" -/* no FLASH available */ -#define CONFIG_SYS_NO_FLASH - /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_CACHE @@ -132,7 +130,6 @@ #define CONFIG_CMD_MMC /* MMC support */ #define CONFIG_CMD_EEPROM #define CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ #define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ #define CONFIG_CMD_NFS /* NFS support */ #define CONFIG_CMD_DHCP diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index 64adc74..b3fcd9c 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/omap3_overo.h @@ -90,6 +90,7 @@ #define CONFIG_DOS_PARTITION /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_CACHE @@ -101,14 +102,11 @@ #define CONFIG_CMD_MMC /* MMC support */ #define CONFIG_CMD_NAND /* NAND support */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ #undef CONFIG_CMD_NFS /* NFS support */ #define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h index d02f338..4fc131f 100644 --- a/include/configs/omap3_pandora.h +++ b/include/configs/omap3_pandora.h @@ -105,6 +105,7 @@ #define CONFIG_DOS_PARTITION 1 /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_EXT2 /* EXT2 Support */ @@ -115,14 +116,11 @@ #define CONFIG_CMD_NAND /* NAND support */ #define CONFIG_CMD_CACHE /* Cache control */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ #undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ #undef CONFIG_CMD_NFS /* NFS support */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C 1 #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h index 17608f5..f3c3b49 100644 --- a/include/configs/omap3_zoom1.h +++ b/include/configs/omap3_zoom1.h @@ -115,6 +115,7 @@ #define CONFIG_USBD_PRODUCT_NAME "Zoom1" /* commands to include */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> #define CONFIG_CMD_EXT2 /* EXT2 Support */ @@ -126,14 +127,11 @@ #define CONFIG_CMD_NAND /* NAND support */ #define CONFIG_CMD_NAND_LOCK_UNLOCK /* Enable lock/unlock support */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ #undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ #undef CONFIG_CMD_NFS /* NFS support */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C 1 #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h index b60ece3..cf83201 100644 --- a/include/configs/omap3_zoom2.h +++ b/include/configs/omap3_zoom2.h @@ -138,6 +138,7 @@ #define CONFIG_USBD_PRODUCT_NAME "Zoom2" /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_FAT /* FAT support */ @@ -146,14 +147,11 @@ #define CONFIG_CMD_NAND /* NAND support */ #define CONFIG_CMD_NAND_LOCK_UNLOCK /* Enable lock/unlock support */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ #undef CONFIG_CMD_IMI /* iminfo */ -#undef CONFIG_CMD_IMLS /* List all found images */ #undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ #undef CONFIG_CMD_NFS /* NFS support */ -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C 1 #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index 5507c8f..f00f2de 100644 --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -117,13 +117,11 @@ #define CONFIG_USB_TTY 1 #define CONFIG_SYS_CONSOLE_IS_IN_ENV 1 -/* Flash */ -#define CONFIG_SYS_NO_FLASH 1 - /* clocks */ #define CONFIG_SYS_CLOCKS_ENABLE_ALL /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> /* Enabled commands */ @@ -136,7 +134,6 @@ #undef CONFIG_CMD_NET #undef CONFIG_CMD_NFS #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ -#undef CONFIG_CMD_IMLS /* List all found images */ /* * Environment setup diff --git a/include/configs/omap5_evm.h b/include/configs/omap5_evm.h index 38b5028..dc12e31 100644 --- a/include/configs/omap5_evm.h +++ b/include/configs/omap5_evm.h @@ -117,14 +117,12 @@ #define CONFIG_SYS_CONSOLE_IS_IN_ENV -/* Flash */ -#define CONFIG_SYS_NO_FLASH - /* Cache */ #define CONFIG_SYS_CACHELINE_SIZE 64 #define CONFIG_SYS_CACHELINE_SHIFT 6 /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> /* Enabled commands */ @@ -138,7 +136,6 @@ #undef CONFIG_CMD_NET #undef CONFIG_CMD_NFS #undef CONFIG_CMD_FPGA /* FPGA configuration Support */ -#undef CONFIG_CMD_IMLS /* List all found images */ /* * Environment setup diff --git a/include/configs/origen.h b/include/configs/origen.h index 8ede825..7baa2cf 100644 --- a/include/configs/origen.h +++ b/include/configs/origen.h @@ -80,6 +80,7 @@ #define CONFIG_ENV_OVERWRITE /* Command definition*/ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> #define CONFIG_CMD_PING @@ -135,8 +136,6 @@ #define PHYS_SDRAM_4_SIZE SDRAM_BANK_SIZE /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH 1 -#undef CONFIG_CMD_IMLS #define CONFIG_IDENT_STRING " for ORIGEN" #ifdef CONFIG_USE_IRQ diff --git a/include/configs/otc570.h b/include/configs/otc570.h index 8599378..39fcd13 100644 --- a/include/configs/otc570.h +++ b/include/configs/otc570.h @@ -155,10 +155,10 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* NOR flash is not populated */ #include <config_cmd_default.h> #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_LOADS -#undef CONFIG_CMD_IMLS #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP @@ -202,9 +202,6 @@ # define DATAFLASH_TCHS (0x1 << 24) #endif -/* NOR flash is not populated, disable it */ -#define CONFIG_SYS_NO_FLASH - /* NAND flash */ #ifdef CONFIG_CMD_NAND # define CONFIG_NAND_ATMEL diff --git a/include/configs/pm9g45.h b/include/configs/pm9g45.h index 4779878..263a85b 100644 --- a/include/configs/pm9g45.h +++ b/include/configs/pm9g45.h @@ -87,9 +87,9 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* NOR flash is not available */ #include <config_cmd_default.h> #undef CONFIG_CMD_FPGA -#undef CONFIG_CMD_IMLS #define CONFIG_CMD_CACHE #define CONFIG_CMD_PING 1 @@ -109,10 +109,6 @@ #define PHYS_SDRAM 0x70000000 #define PHYS_SDRAM_SIZE 0x08000000 /* 128 megs */ -/* NOR flash, not available */ -#define CONFIG_SYS_NO_FLASH 1 -#undef CONFIG_CMD_FLASH - /* NAND flash */ #ifdef CONFIG_CMD_NAND #define CONFIG_NAND_ATMEL diff --git a/include/configs/sbc35_a9g20.h b/include/configs/sbc35_a9g20.h index cdf8659..1577e2a 100644 --- a/include/configs/sbc35_a9g20.h +++ b/include/configs/sbc35_a9g20.h @@ -76,11 +76,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* No NOR flash */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_SOURCE @@ -125,9 +125,6 @@ #define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PC14 #define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PC13 -/* NOR flash - no real flash on this board */ -#define CONFIG_SYS_NO_FLASH 1 - /* Ethernet */ #define CONFIG_MACB #define CONFIG_RMII diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index 9659f9e..4977ba2 100644 --- a/include/configs/smdk5250.h +++ b/include/configs/smdk5250.h @@ -89,6 +89,7 @@ #define CONFIG_ENV_OVERWRITE /* Command definition*/ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> #define CONFIG_CMD_PING @@ -155,8 +156,6 @@ #define CONFIG_SYS_MONITOR_BASE 0x00000000 /* FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH -#undef CONFIG_CMD_IMLS #define CONFIG_IDENT_STRING " for SMDK5250" #define CONFIG_ENV_IS_IN_MMC diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h index 6663629..4d7b3ae 100644 --- a/include/configs/smdkc100.h +++ b/include/configs/smdkc100.h @@ -76,10 +76,9 @@ /*********************************************************** * Command definition ***********************************************************/ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> -#undef CONFIG_CMD_FLASH -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_NAND #define CONFIG_CMD_CACHE @@ -203,8 +202,6 @@ /*----------------------------------------------------------------------- * FLASH and environment organization */ -#define CONFIG_SYS_NO_FLASH 1 - #define CONFIG_SYS_MONITOR_LEN (256 << 10) /* 256 KiB */ #define CONFIG_IDENT_STRING " for SMDKC100" diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h index cb3c674..c5dc48a 100644 --- a/include/configs/snapper9260.h +++ b/include/configs/snapper9260.h @@ -172,7 +172,6 @@ #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_SOURCE diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h index 37eb87b..0e03cf4 100644 --- a/include/configs/tam3517-common.h +++ b/include/configs/tam3517-common.h @@ -109,6 +109,7 @@ /* #define CONFIG_EHCI_DCACHE */ /* commands to include */ +#define CONFIG_SYS_NO_FLASH /* No CFI flash */ #include <config_cmd_default.h> #define CONFIG_CMD_CACHE @@ -125,10 +126,6 @@ #define CONFIG_CMD_PING #define CONFIG_CMD_USB -#undef CONFIG_CMD_FLASH /* only NAND on the SOM */ -#undef CONFIG_CMD_IMLS - -#define CONFIG_SYS_NO_FLASH #define CONFIG_HARD_I2C #define CONFIG_SYS_I2C_SPEED 400000 #define CONFIG_SYS_I2C_SLAVE 1 diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 837f859..ac5f05f 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/tegra2-common.h @@ -98,13 +98,12 @@ #define TEGRA_I2C_NUM_CONTROLLERS 4 /* include default commands */ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> /* remove unused commands */ -#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */ #undef CONFIG_CMD_FPGA /* FPGA configuration support */ #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_NFS /* NFS support */ #undef CONFIG_CMD_NET /* network support */ @@ -113,8 +112,6 @@ #define CONFIG_COMMAND_HISTORY #define CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_NO_FLASH - /* Environment information */ #define CONFIG_EXTRA_ENV_SETTINGS \ "console=ttyS0,115200n8\0" \ diff --git a/include/configs/tny_a9260.h b/include/configs/tny_a9260.h index 0043926..078b9cc 100644 --- a/include/configs/tny_a9260.h +++ b/include/configs/tny_a9260.h @@ -82,11 +82,11 @@ /* * Command line configuration. */ +#define CONFIG_SYS_NO_FLASH /* No NOR flash */ #include <config_cmd_default.h> #undef CONFIG_CMD_BDI #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_IMI -#undef CONFIG_CMD_IMLS #undef CONFIG_CMD_LOADS #undef CONFIG_CMD_NET #undef CONFIG_CMD_NFS @@ -124,9 +124,6 @@ #define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PC14 #define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PC13 -/* NOR flash - no real flash on this board */ -#define CONFIG_SYS_NO_FLASH - #define CONFIG_DOS_PARTITION #define CONFIG_CMD_FAT diff --git a/include/configs/vct.h b/include/configs/vct.h index 9ddc7b1..5116e18 100644 --- a/include/configs/vct.h +++ b/include/configs/vct.h @@ -145,11 +145,6 @@ #define CONFIG_EHCI_HCD_INIT_AFTER_RESET /* re-init HCD after CMD_RESET */ #endif /* CONFIG_CMD_USB */ -#if !defined(CONFIG_VCT_NOR) -#undef CONFIG_CMD_FLASH -#undef CONFIG_CMD_IMLS -#endif - #if defined(CONFIG_VCT_NAND) #define CONFIG_CMD_NAND #endif diff --git a/include/configs/vision2.h b/include/configs/vision2.h index f6904f3..946fe61 100644 --- a/include/configs/vision2.h +++ b/include/configs/vision2.h @@ -142,10 +142,10 @@ * Command definition ***********************************************************/ +#define CONFIG_SYS_NO_FLASH #include <config_cmd_default.h> #define CONFIG_CMD_SPI -#undef CONFIG_CMD_IMLS #define CONFIG_BOOTDELAY 3 @@ -207,8 +207,6 @@ #define CONFIG_SYS_DDR_CLKSEL 0 #define CONFIG_SYS_CLKTL_CBCDR 0x19239100 -#define CONFIG_SYS_NO_FLASH - /* * Framebuffer and LCD */ diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h index bd7bac0..43308fd 100644 --- a/include/configs/xilinx-ppc.h +++ b/include/configs/xilinx-ppc.h @@ -32,26 +32,6 @@ #define CONFIG_SYS_MONITOR_LEN (192 * 1024) #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128 * 1024) -/*Cmd*/ -#include <config_cmd_default.h> -#define CONFIG_CMD_ASKENV -#define CONFIG_CMD_CACHE -#define CONFIG_CMD_DIAG -#define CONFIG_CMD_ELF -#define CONFIG_CMD_IRQ -#define CONFIG_CMD_REGINFO -#undef CONFIG_CMD_JFFS2 -#undef CONFIG_CMD_MTDPARTS -#undef CONFIG_CMD_SPI -#undef CONFIG_CMD_I2C -#undef CONFIG_CMD_DTT -#undef CONFIG_CMD_NET -#undef CONFIG_CMD_PING -#undef CONFIG_CMD_DHCP -#undef CONFIG_CMD_EEPROM -#undef CONFIG_CMD_IMLS -#undef CONFIG_CMD_NFS - /*Misc*/ #define CONFIG_BOOTDELAY 5/* autoboot after 5 seconds */ #define CONFIG_SYS_LONGHELP /* undef to save memory */ @@ -135,4 +115,22 @@ #endif #endif +/*Cmd*/ +#include <config_cmd_default.h> +#define CONFIG_CMD_ASKENV +#define CONFIG_CMD_CACHE +#define CONFIG_CMD_DIAG +#define CONFIG_CMD_ELF +#define CONFIG_CMD_IRQ +#define CONFIG_CMD_REGINFO +#undef CONFIG_CMD_MTDPARTS +#undef CONFIG_CMD_SPI +#undef CONFIG_CMD_I2C +#undef CONFIG_CMD_DTT +#undef CONFIG_CMD_NET +#undef CONFIG_CMD_PING +#undef CONFIG_CMD_DHCP +#undef CONFIG_CMD_EEPROM +#undef CONFIG_CMD_NFS + #endif /* __CONFIG_H */ -- 1.7.0.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot