diff options
author | wdenk <wdenk> | 2005-04-02 23:52:25 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2005-04-02 23:52:25 +0000 |
commit | 400558b561e2bdb47f87b96b3510dda0881a3662 (patch) | |
tree | 479fa3918e0031a95cdac9468cb8396e1f1a9b60 /include | |
parent | 414eec35e3832f4f9ce8a25ace7ead638be1f76f (diff) | |
download | u-boot-imx-400558b561e2bdb47f87b96b3510dda0881a3662.zip u-boot-imx-400558b561e2bdb47f87b96b3510dda0881a3662.tar.gz u-boot-imx-400558b561e2bdb47f87b96b3510dda0881a3662.tar.bz2 |
Prepare for SoC rework of ARM code:
- rename CONFIG_BOOTBINFUNC into CONFIG_INIT_CRITICAL
- rename memsetup into lowlevel_init (function name and source files)
Diffstat (limited to 'include')
37 files changed, 50 insertions, 63 deletions
diff --git a/include/configs/B2.h b/include/configs/B2.h index 2fc97b2..b031826 100644 --- a/include/configs/B2.h +++ b/include/configs/B2.h @@ -34,7 +34,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/SX1.h b/include/configs/SX1.h index de7f387..7c51a1b 100644 --- a/include/configs/SX1.h +++ b/include/configs/SX1.h @@ -27,7 +27,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h index 9ca80ab..2c664d5 100644 --- a/include/configs/VCMA9.h +++ b/include/configs/VCMA9.h @@ -33,7 +33,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/at91rm9200dk.h b/include/configs/at91rm9200dk.h index 8146fe7..d32ec34 100644 --- a/include/configs/at91rm9200dk.h +++ b/include/configs/at91rm9200dk.h @@ -29,7 +29,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* ARM asynchronous clock */ #define AT91C_MAIN_CLOCK 179712000 /* from 18.432 MHz crystal (18432000 / 4 * 39) */ @@ -44,10 +44,7 @@ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 -/* define this to include the functionality of boot.bin in u-boot */ -#undef CONFIG_BOOTBINFUNC - -#ifdef CONFIG_BOOTBINFUNC +#ifdef CONFIG_INIT_CRITICAL #define CFG_USE_MAIN_OSCILLATOR 1 /* flash */ #define MC_PUIA_VAL 0x00000000 @@ -77,7 +74,7 @@ #define SDRC_MR_VAL2 0x00000003 /* Load Mode Register */ #define SDRC_MR_VAL3 0x00000000 /* Normal Mode */ #define SDRC_TR_VAL 0x000002E0 /* Write refresh rate */ -#endif +#endif /* CONFIG_INIT_CRITICAL */ /* * Size of malloc() pool */ @@ -180,19 +177,19 @@ #define CFG_ENV_SIZE 0x2000 /* 0x8000 */ #else #define CFG_ENV_IS_IN_FLASH 1 -#ifdef CONFIG_BOOTBINFUNC +#ifdef CONFIG_INIT_CRITICAL #define CFG_ENV_ADDR (PHYS_FLASH_1 + 0x60000) /* after u-boot.bin */ #define CFG_ENV_SIZE 0x10000 /* sectors are 64K here */ #else #define CFG_ENV_ADDR (PHYS_FLASH_1 + 0xe000) /* between boot.bin and u-boot.bin.gz */ #define CFG_ENV_SIZE 0x2000 /* 0x8000 */ -#endif -#endif +#endif /* CONFIG_INIT_CRITICAL */ +#endif /* CFG_ENV_IS_IN_DATAFLASH */ #define CFG_LOAD_ADDR 0x21000000 /* default load address */ -#ifdef CONFIG_BOOTBINFUNC +#ifdef CONFIG_INIT_CRITICAL #define CFG_BOOT_SIZE 0x00 /* 0 KBytes */ #define CFG_U_BOOT_BASE PHYS_FLASH_1 #define CFG_U_BOOT_SIZE 0x60000 /* 384 KBytes */ @@ -200,7 +197,7 @@ #define CFG_BOOT_SIZE 0x6000 /* 24 KBytes */ #define CFG_U_BOOT_BASE (PHYS_FLASH_1 + 0x10000) #define CFG_U_BOOT_SIZE 0x10000 /* 64 KBytes */ -#endif +#endif /* CONFIG_INIT_CRITICAL */ #define CFG_BAUDRATE_TABLE {115200 , 19200, 38400, 57600, 9600 } diff --git a/include/configs/cmc_pu2.h b/include/configs/cmc_pu2.h index 34efc38..5a0f460 100644 --- a/include/configs/cmc_pu2.h +++ b/include/configs/cmc_pu2.h @@ -29,7 +29,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* ARM asynchronous clock */ #define AT91C_MAIN_CLOCK 207360000 /* from 18.432 MHz crystal (18432000 / 4 * 45) */ @@ -44,15 +44,7 @@ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 -/* define this to include the functionality of boot.bin in u-boot */ -#define CONFIG_BOOTBINFUNC - -/* just to make sure */ -#ifndef CONFIG_BOOTBINFUNC -#define CONFIG_BOOTBINFUNC -#endif - -#ifdef CONFIG_BOOTBINFUNC +#ifdef CONFIG_INIT_CRITICAL #define CFG_USE_MAIN_OSCILLATOR 1 /* flash */ #define MC_PUIA_VAL 0x00000000 @@ -82,7 +74,7 @@ #define SDRC_MR_VAL2 0x00000003 /* Load Mode Register */ #define SDRC_MR_VAL3 0x00000000 /* Normal Mode */ #define SDRC_TR_VAL 0x000002E0 /* Write refresh rate */ -#endif +#endif /* CONFIG_INIT_CRITICAL */ /* * Size of malloc() pool diff --git a/include/configs/cradle.h b/include/configs/cradle.h index 2cec4c7..ca7a97b 100644 --- a/include/configs/cradle.h +++ b/include/configs/cradle.h @@ -32,7 +32,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options @@ -306,7 +306,7 @@ #else #define CFG_MDCNFG_VAL 0x00001aa1 /* FIXME can DTC be 01? */ #define CFG_MDMRS_VAL 0x00000000 -#define CFG_MDREFR_VAL 0x00403018 /* Initial setting, individual bits set in memsetup.S */ +#define CFG_MDREFR_VAL 0x00403018 /* Initial setting, individual bits set in lowlevel_init.S */ #endif /* diff --git a/include/configs/csb226.h b/include/configs/csb226.h index 1b39d23..0b2b251 100644 --- a/include/configs/csb226.h +++ b/include/configs/csb226.h @@ -37,7 +37,7 @@ * If we are developing, we might want to start U-Boot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/dnp1110.h b/include/configs/dnp1110.h index f3a871b..b14e35b 100644 --- a/include/configs/dnp1110.h +++ b/include/configs/dnp1110.h @@ -31,8 +31,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ -#undef CONFIG_INIT_CRITICAL /* undef for developing */ +#undef CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/ep7312.h b/include/configs/ep7312.h index d9dd620..41ad394 100644 --- a/include/configs/ep7312.h +++ b/include/configs/ep7312.h @@ -31,7 +31,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/evb4510.h b/include/configs/evb4510.h index 24b1779..9e0ed51 100644 --- a/include/configs/evb4510.h +++ b/include/configs/evb4510.h @@ -33,7 +33,7 @@ * Also swap the flash1 and flash2 addresses during debug. * */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/gcplus.h b/include/configs/gcplus.h index 618b25a..dbb8dec 100644 --- a/include/configs/gcplus.h +++ b/include/configs/gcplus.h @@ -38,7 +38,7 @@ * e.g. bootp/tftp download of the kernel is a far more convenient * when testing new kernels on this target. However the ADS GCPlus Linux * boot ROM leaves the MMU enabled when it passes control to U-Boot. So - * we use memsetup (CONFIG_INIT_CRITICAL) to remedy that problem. + * we use lowlevel_init (CONFIG_INIT_CRITICAL) to remedy that problem. */ #define CONFIG_INIT_CRITICAL diff --git a/include/configs/impa7.h b/include/configs/impa7.h index b4c1edf..dbc951d 100644 --- a/include/configs/impa7.h +++ b/include/configs/impa7.h @@ -31,7 +31,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/innokom.h b/include/configs/innokom.h index f884519..a3d36a0 100644 --- a/include/configs/innokom.h +++ b/include/configs/innokom.h @@ -34,7 +34,7 @@ * If we are developing, we might want to start U-Boot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/ixdp425.h b/include/configs/ixdp425.h index 1add778..a8067f6 100644 --- a/include/configs/ixdp425.h +++ b/include/configs/ixdp425.h @@ -41,7 +41,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */ diff --git a/include/configs/lart.h b/include/configs/lart.h index c98f377..3c9895a 100644 --- a/include/configs/lart.h +++ b/include/configs/lart.h @@ -31,7 +31,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/logodl.h b/include/configs/logodl.h index 2aee461..b320a40 100644 --- a/include/configs/logodl.h +++ b/include/configs/logodl.h @@ -34,7 +34,7 @@ * If we are developing, we might want to start U-Boot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/lpd7a400.h b/include/configs/lpd7a400.h index 808fe1c..6f2c32c 100644 --- a/include/configs/lpd7a400.h +++ b/include/configs/lpd7a400.h @@ -27,7 +27,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL #undef CONFIG_USE_IRQ diff --git a/include/configs/lpd7a404.h b/include/configs/lpd7a404.h index de465ea..e6855fb 100644 --- a/include/configs/lpd7a404.h +++ b/include/configs/lpd7a404.h @@ -27,7 +27,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL #undef CONFIG_USE_IRQ diff --git a/include/configs/lubbock.h b/include/configs/lubbock.h index efe205d..536a175 100644 --- a/include/configs/lubbock.h +++ b/include/configs/lubbock.h @@ -34,7 +34,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/modnet50.h b/include/configs/modnet50.h index fd1b47c..166aa11 100644 --- a/include/configs/modnet50.h +++ b/include/configs/modnet50.h @@ -31,7 +31,7 @@ * If we are developing, we might want to start u-boot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/mx1ads.h b/include/configs/mx1ads.h index 3f1419e..f7ccea3 100644 --- a/include/configs/mx1ads.h +++ b/include/configs/mx1ads.h @@ -32,7 +32,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/ns9750dev.h b/include/configs/ns9750dev.h index 11d21b2..af39e2e 100644 --- a/include/configs/ns9750dev.h +++ b/include/configs/ns9750dev.h @@ -31,7 +31,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/omap1510inn.h b/include/configs/omap1510inn.h index 88d6c46..552beed 100644 --- a/include/configs/omap1510inn.h +++ b/include/configs/omap1510inn.h @@ -30,7 +30,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h index beff6d8..9b82215 100644 --- a/include/configs/omap1610h2.h +++ b/include/configs/omap1610h2.h @@ -30,7 +30,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h index d0608dd..c00976e 100644 --- a/include/configs/omap1610inn.h +++ b/include/configs/omap1610inn.h @@ -30,7 +30,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h index 43be807..cd2dbf1 100644 --- a/include/configs/omap5912osk.h +++ b/include/configs/omap5912osk.h @@ -30,8 +30,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ - -#define CONFIG_INIT_CRITICAL /*undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/omap730p2.h b/include/configs/omap730p2.h index ace380f..1bdea6c 100644 --- a/include/configs/omap730p2.h +++ b/include/configs/omap730p2.h @@ -32,7 +32,7 @@ * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE diff --git a/include/configs/pleb2.h b/include/configs/pleb2.h index f733803..9ba19c8 100644 --- a/include/configs/pleb2.h +++ b/include/configs/pleb2.h @@ -34,7 +34,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options @@ -208,8 +208,8 @@ #define CFG_MDCNFG_VAL 0x00000aC9 /* Memory timings for the SDRAM. tRP=2, CL=2, tRCD=2, tRAS=5, tRC=8 */ -#define CFG_MDREFR_VAL 0x00403018 /* Initial setting, individual - bits set in memsetup.S */ +#define CFG_MDREFR_VAL 0x00403018 /* Initial setting, individual */ + /* bits set in lowlevel_init.S */ #define CFG_MDMRS_VAL 0x00000000 /* diff --git a/include/configs/shannon.h b/include/configs/shannon.h index 7afe62d..8a4e370 100644 --- a/include/configs/shannon.h +++ b/include/configs/shannon.h @@ -37,7 +37,7 @@ * bring us to live */ #define CONFIG_INFERNO /* we are using the inferno bootldr */ -#undef CONFIG_INIT_CRITICAL /* undef for developing */ +#undef CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/smdk2400.h b/include/configs/smdk2400.h index b95b8c0..f477575 100644 --- a/include/configs/smdk2400.h +++ b/include/configs/smdk2400.h @@ -34,7 +34,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/smdk2410.h b/include/configs/smdk2410.h index 7e3a02d..2a1cd77 100644 --- a/include/configs/smdk2410.h +++ b/include/configs/smdk2410.h @@ -33,7 +33,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/suzaku.h b/include/configs/suzaku.h index e8c4373..6fda7b9 100644 --- a/include/configs/suzaku.h +++ b/include/configs/suzaku.h @@ -29,7 +29,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/trab.h b/include/configs/trab.h index 137d934..2f59260 100644 --- a/include/configs/trab.h +++ b/include/configs/trab.h @@ -40,7 +40,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options diff --git a/include/configs/wepep250.h b/include/configs/wepep250.h index a8a8ee5..ca32efb 100644 --- a/include/configs/wepep250.h +++ b/include/configs/wepep250.h @@ -27,7 +27,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL #define CONFIG_PXA250 1 /* this is an PXA250 CPU */ #define CONFIG_WEPEP250 1 /* config for wepep250 board */ diff --git a/include/configs/xaeniax.h b/include/configs/xaeniax.h index fc3739f..1177003 100644 --- a/include/configs/xaeniax.h +++ b/include/configs/xaeniax.h @@ -40,7 +40,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* #undef CONFIG_INIT_CRITICAL diff --git a/include/configs/xm250.h b/include/configs/xm250.h index 10f69d9..1be7dd4 100644 --- a/include/configs/xm250.h +++ b/include/configs/xm250.h @@ -32,7 +32,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* * High Level Configuration Options @@ -330,7 +330,7 @@ #define CFG_MSC2_VAL 0x35f435fc /* IDE / BCR + WatchDog (cs4)/(cS5) */ #define CFG_MDCNFG_VAL 0x000009c9 #define CFG_MDMRS_VAL 0x00220022 -#define CFG_MDREFR_VAL 0x000da018 /* Initial setting, individual bits set in memsetup.S */ +#define CFG_MDREFR_VAL 0x000da018 /* Initial setting, individual bits set in lowlevel_init.S */ /* * PCMCIA and CF Interfaces (NOT USED, these values from lubbock init) diff --git a/include/configs/xsengine.h b/include/configs/xsengine.h index 87d2c94..6b15766 100644 --- a/include/configs/xsengine.h +++ b/include/configs/xsengine.h @@ -32,7 +32,7 @@ * If we are developing, we might want to start armboot from ram * so we MUST NOT initialize critical regs like mem-timing ... */ -#define CONFIG_INIT_CRITICAL /* undef for developing */ +#define CONFIG_INIT_CRITICAL /* High Level Configuration Options */ #define CONFIG_PXA250 1 /* This is an PXA250 CPU */ |