diff --git a/CHANGELOG b/CHANGELOG index 5ccee97257bba3582613436e06cd8585275835bd..1136f11f7acb840fcf6d8c8bba51bcadf6feed62 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,10 @@ Changes for U-Boot 1.1.3: ====================================================================== +* Prepare for SoC rework of ARM code: + - rename CONFIG_BOOTBINFUNC into CONFIG_INIT_CRITICAL + - rename memsetup into lowlevel_init (function name and source files) + * Fix problems with SNTP support; enable SNTP support in some boards. diff --git a/README b/README index a9c052c0592ff4aaa5e1ba03e992ee9d6a6b7adb..6cc7405512ee64f034ebd9b24ee9b4d16e7c13df 100644 --- a/README +++ b/README @@ -2128,6 +2128,15 @@ Low Level (hardware related) configuration options: This only takes effect if the memory commands are activated globally (CFG_CMD_MEM). +- CONFIG_INIT_CRITICAL + [ARM only] If this variable is NOT defined, then + certain critical initializations (like setting up the + memory controller) are omitted. Normally this + variable MUST be defined for all boards. The only + exception is when U-Boot is loaded (to RAM) by some + other boot loader or by a debugger which performs + these intializations itself. + Building the Software: ====================== diff --git a/board/assabet/setup.S b/board/assabet/setup.S index fefb431af2044af0bb81df1b3a49e6416f855c61..56ea0dd9284fd7fb22b921c5511d3ce94b22040d 100644 --- a/board/assabet/setup.S +++ b/board/assabet/setup.S @@ -80,8 +80,8 @@ BCR_DB1110: .long ASSABET_BCR_DB1110 LEDS: .long NEPONSET_LEDS - .globl memsetup -memsetup: + .globl lowlevel_init +lowlevel_init: /* Setting up the memory and stuff */ diff --git a/board/cerf250/Makefile b/board/cerf250/Makefile index 3ab97dfdc0c8bfa46e49da44a1bf4d0aca70b7ec..83e3ba458ad1c4fc2d4bf3293dbebe2c0e115f63 100644 --- a/board/cerf250/Makefile +++ b/board/cerf250/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := cerf250.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/cerf250/memsetup.S b/board/cerf250/lowlevel_init.S similarity index 98% rename from board/cerf250/memsetup.S rename to board/cerf250/lowlevel_init.S index f3d373a8a24c2190f4ca72b7020aaf6faae58918..c9b68d7ff39b08e0c5f9d847416632aa53b752b0 100644 --- a/board/cerf250/memsetup.S +++ b/board/cerf250/lowlevel_init.S @@ -3,7 +3,7 @@ * * NOTE: I haven't clean this up considerably, just enough to get it * running. See hal_platform_setup.h for the source. See - * board/cradle/memsetup.S for another PXA250 setup that is + * board/cradle/lowlevel_init.S for another PXA250 setup that is * much cleaner. * * See file CREDITS for list of people who contributed to this @@ -43,8 +43,8 @@ DRAM_SIZE: .long CFG_DRAM_SIZE * Memory setup */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* Set up GPIO pins first ----------------------------------------- */ @@ -403,9 +403,9 @@ initclks: #endif /* ---------------------------------------------------------------- */ - /* End memsetup */ + /* End lowlevel_init */ /* ---------------------------------------------------------------- */ -endmemsetup: +endlowlevel_init: mov pc, lr diff --git a/board/cradle/Makefile b/board/cradle/Makefile index 5a321eb3939e032942ee661da606dad3bcfb85dd..265d50043ca875db6d126dd509d4490dc2f3bede 100644 --- a/board/cradle/Makefile +++ b/board/cradle/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := cradle.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/cradle/memsetup.S b/board/cradle/lowlevel_init.S similarity index 99% rename from board/cradle/memsetup.S rename to board/cradle/lowlevel_init.S index 8800cb0cb72426daa1acef80a492fc46cebdc20f..2fd307f1d0e34c072fdaf097b1a84f2daed2ee41 100644 --- a/board/cradle/memsetup.S +++ b/board/cradle/lowlevel_init.S @@ -43,8 +43,8 @@ DRAM_SIZE: .long CFG_DRAM_SIZE .endm -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -512,4 +512,4 @@ mem_init: mov pc, r10 -@ End memsetup +@ End lowlevel_init diff --git a/board/csb226/Makefile b/board/csb226/Makefile index ac94642453d45b894be94ea01d79d154f492a3ec..5b311a9450d2d354f49b85fb64272dcc3683d5bf 100644 --- a/board/csb226/Makefile +++ b/board/csb226/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := csb226.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/logodl/memsetup.S b/board/csb226/lowlevel_init.S similarity index 98% rename from board/logodl/memsetup.S rename to board/csb226/lowlevel_init.S index 68577ca0699e8d7790ee880f219c19634350caf1..aa9dcba6fc46b4e46a689e83c700d78c95ddd235 100644 --- a/board/logodl/memsetup.S +++ b/board/csb226/lowlevel_init.S @@ -3,7 +3,7 @@ * * NOTE: I haven't clean this up considerably, just enough to get it * running. See hal_platform_setup.h for the source. See - * board/cradle/memsetup.S for another PXA250 setup that is + * board/cradle/lowlevel_init.S for another PXA250 setup that is * much cleaner. * * See file CREDITS for list of people who contributed to this @@ -46,8 +46,8 @@ _TEXT_BASE: * Memory setup */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -429,9 +429,9 @@ initclks: #endif /* ---------------------------------------------------------------- */ - /* End memsetup */ + /* End lowlevel_init */ /* ---------------------------------------------------------------- */ -endmemsetup: +endlowlevel_init: mov pc, lr diff --git a/board/dave/B2/Makefile b/board/dave/B2/Makefile index c0c3f6785b42748408b38a662dab041f596474f9..548fd528ba1a937e616eec2134e8c9aebff3524e 100644 --- a/board/dave/B2/Makefile +++ b/board/dave/B2/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := B2.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/dave/B2/memsetup.S b/board/dave/B2/lowlevel_init.S similarity index 99% rename from board/dave/B2/memsetup.S rename to board/dave/B2/lowlevel_init.S index 3f64cb3749b0f58b457a78a7f3398158eea68fe2..2f3a3645ed60e28563992d3ea20184b14516b33f 100644 --- a/board/dave/B2/memsetup.S +++ b/board/dave/B2/lowlevel_init.S @@ -149,8 +149,8 @@ MEMORY_CONFIG: .word 0x20 /*MRSR7*/ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* the next instruction fail due memory relocation... diff --git a/board/dbau1x00/Makefile b/board/dbau1x00/Makefile index d1cdc6b9244c1ca3257633671f85cef9cafe2da0..d9b0e2d258a50b125a6cefe2fe9c7434f14f6857 100644 --- a/board/dbau1x00/Makefile +++ b/board/dbau1x00/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS = $(BOARD).o flash.o -SOBJS = memsetup.o +SOBJS = lowlevel_init.o $(LIB): .depend $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/dbau1x00/memsetup.S b/board/dbau1x00/lowlevel_init.S similarity index 99% rename from board/dbau1x00/memsetup.S rename to board/dbau1x00/lowlevel_init.S index c96d8a5099658bd608c021f54c40345f97ad45ec..7afd5840c8628a6925e0067035ea2d6c79d15656 100644 --- a/board/dbau1x00/memsetup.S +++ b/board/dbau1x00/lowlevel_init.S @@ -16,8 +16,8 @@ .set noreorder .set mips32 - .globl memsetup -memsetup: + .globl lowlevel_init +lowlevel_init: /* * Step 1) Establish CPU endian mode. * Db1500-specific: diff --git a/board/dnp1110/Makefile b/board/dnp1110/Makefile index 31ef6954cdce5f8bcbb47e753df1af3cafa883cb..eaa38bc3c13b062112db0f7efaf8fd9b6ba91d36 100644 --- a/board/dnp1110/Makefile +++ b/board/dnp1110/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := dnp1110.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/dnp1110/memsetup.S b/board/dnp1110/lowlevel_init.S similarity index 98% rename from board/dnp1110/memsetup.S rename to board/dnp1110/lowlevel_init.S index 1622aea5044d8b6a0633ad50d66346dd78e80f94..7730be343794ee693a7bce0526cd625b0805cfe1 100644 --- a/board/dnp1110/memsetup.S +++ b/board/dnp1110/lowlevel_init.S @@ -63,8 +63,8 @@ smcnfg: .long 0x00000000 /* setting up the memory */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: ldr r0, MEM_BASE diff --git a/board/ep7312/Makefile b/board/ep7312/Makefile index 2b4c975b8e8b1848e6be843b41ed25775816a909..c53a3c7a0d66cbf9e271316bf94b5455c044b0fb 100644 --- a/board/ep7312/Makefile +++ b/board/ep7312/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := ep7312.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/ep7312/memsetup.S b/board/ep7312/lowlevel_init.S similarity index 98% rename from board/ep7312/memsetup.S rename to board/ep7312/lowlevel_init.S index 6078937b4cda95485e2f4c9dcf438bbc21a0cfca..5dadb313b1befc791d6ca0c2498f1d2c84247e9d 100644 --- a/board/ep7312/memsetup.S +++ b/board/ep7312/lowlevel_init.S @@ -45,8 +45,8 @@ sdrfpr_val: .long 0x00000240 sdconf_val: .long 0x00000522 /* setting up the memory */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* * SYSCON1-3 */ diff --git a/board/evb4510/Makefile b/board/evb4510/Makefile index 1ab4dfb368cf5977fa52a537a29f95e1677f07cd..10850a95e47aa9d5653255f5d4688e0da131e612 100644 --- a/board/evb4510/Makefile +++ b/board/evb4510/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := evb4510.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $^ diff --git a/board/evb4510/memsetup.S b/board/evb4510/lowlevel_init.S similarity index 97% rename from board/evb4510/memsetup.S rename to board/evb4510/lowlevel_init.S index 915af1e9e608db39f39af3617664bca04886267d..7184d7259a5c30981999d011016c2ba7316000b3 100644 --- a/board/evb4510/memsetup.S +++ b/board/evb4510/lowlevel_init.S @@ -31,7 +31,7 @@ * * This memory map allows us to relocate from FLASH to SRAM. After * power-on reset the CPU only knows about the FLASH memory at address - * 0x00000000. After memsetup completes the memory map will be: + * 0x00000000. After lowlevel_init completes the memory map will be: * * Memory Addr * 0x00000000 @@ -54,8 +54,8 @@ * ***********************************************************************/ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* preserve the temp register (r12 AKA ip) and remap it. */ ldr r1, =SRAM_BASE+0xC diff --git a/board/gcplus/Makefile b/board/gcplus/Makefile index d0f7d1cffaff33496cb7b0bd7deb8b24b40ddb8a..1954d661c3d4aabbf4a3507c60c9fe57d58d3524 100644 --- a/board/gcplus/Makefile +++ b/board/gcplus/Makefile @@ -28,7 +28,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := gcplus.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/gcplus/memsetup.S b/board/gcplus/lowlevel_init.S similarity index 95% rename from board/gcplus/memsetup.S rename to board/gcplus/lowlevel_init.S index 02f56858244147b337be1d52b3912c4d92e5bf74..f292c4d28abdb1b0cdd9212542c8d8cad7963682 100644 --- a/board/gcplus/memsetup.S +++ b/board/gcplus/lowlevel_init.S @@ -29,11 +29,11 @@ #include "version.h" - .globl memsetup -memsetup: + .globl lowlevel_init +lowlevel_init: /* The ADS GC+ for Linux Boot Rom Ver. 1.73 does memory init for us. * However the darn thing leaves the MMU enabled before handing control - * over to us. So we need to disable the MMU and we use memsetup + * over to us. So we need to disable the MMU and we use lowlevel_init * to do it. */ diff --git a/board/impa7/Makefile b/board/impa7/Makefile index f8323e0b97fabdec8d84d1631ad83879a65299d4..08543f94f220023e9a7aad1b3b69970e2b963548 100644 --- a/board/impa7/Makefile +++ b/board/impa7/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := impa7.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/impa7/memsetup.S b/board/impa7/lowlevel_init.S similarity index 98% rename from board/impa7/memsetup.S rename to board/impa7/lowlevel_init.S index 5cb5fa899d203cb4606fdd1f81d726a424ffcc90..7ce10a20195793f2de6fd23457999f5111e2d6be 100644 --- a/board/impa7/memsetup.S +++ b/board/impa7/lowlevel_init.S @@ -39,8 +39,8 @@ memcfg2_val: .long 0x00000000 @ upper 16 bits are reserved for CS7 + CS6 drfpr_val: .long 0x00000081 /* setting up the memory */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* * DRFPR * 64kHz DRAM refresh diff --git a/board/incaip/Makefile b/board/incaip/Makefile index d1cdc6b9244c1ca3257633671f85cef9cafe2da0..d9b0e2d258a50b125a6cefe2fe9c7434f14f6857 100644 --- a/board/incaip/Makefile +++ b/board/incaip/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS = $(BOARD).o flash.o -SOBJS = memsetup.o +SOBJS = lowlevel_init.o $(LIB): .depend $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/incaip/memsetup.S b/board/incaip/lowlevel_init.S similarity index 98% rename from board/incaip/memsetup.S rename to board/incaip/lowlevel_init.S index 3f883c110a0e40cf772c491f778ffc04aceb533a..fb64ef419dee4a5a0d89ae879b1fb4f15cf0516e 100644 --- a/board/incaip/memsetup.S +++ b/board/incaip/lowlevel_init.S @@ -269,9 +269,9 @@ sdram_init: .end sdram_init - .globl memsetup - .ent memsetup -memsetup: + .globl lowlevel_init + .ent lowlevel_init +lowlevel_init: /* EBU, CGU and SDRAM Initialization. */ @@ -292,4 +292,4 @@ memsetup: j ra nop - .end memsetup + .end lowlevel_init diff --git a/board/innokom/Makefile b/board/innokom/Makefile index 59eaee58b1cdbe93c2e98cbb983f02ec33649526..73f6a74427950c6c0238c03ce17c10918ad185f0 100644 --- a/board/innokom/Makefile +++ b/board/innokom/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := innokom.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/csb226/memsetup.S b/board/innokom/lowlevel_init.S similarity index 98% rename from board/csb226/memsetup.S rename to board/innokom/lowlevel_init.S index 68577ca0699e8d7790ee880f219c19634350caf1..aa9dcba6fc46b4e46a689e83c700d78c95ddd235 100644 --- a/board/csb226/memsetup.S +++ b/board/innokom/lowlevel_init.S @@ -3,7 +3,7 @@ * * NOTE: I haven't clean this up considerably, just enough to get it * running. See hal_platform_setup.h for the source. See - * board/cradle/memsetup.S for another PXA250 setup that is + * board/cradle/lowlevel_init.S for another PXA250 setup that is * much cleaner. * * See file CREDITS for list of people who contributed to this @@ -46,8 +46,8 @@ _TEXT_BASE: * Memory setup */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -429,9 +429,9 @@ initclks: #endif /* ---------------------------------------------------------------- */ - /* End memsetup */ + /* End lowlevel_init */ /* ---------------------------------------------------------------- */ -endmemsetup: +endlowlevel_init: mov pc, lr diff --git a/board/lart/Makefile b/board/lart/Makefile index 42ceb03b7afd3c6737c5ae65f1eb5c9e8687bcfc..550aa1dac3bb8c1e3d39e3717b0af0642d41d47b 100644 --- a/board/lart/Makefile +++ b/board/lart/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := lart.o flash.o -SOBJS := flashasm.o memsetup.o +SOBJS := flashasm.o lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/lart/memsetup.S b/board/lart/lowlevel_init.S similarity index 98% rename from board/lart/memsetup.S rename to board/lart/lowlevel_init.S index 635f2a001a5afa3d003ba8d8cab3c74d43b73855..db9fd63defce301e29e6b1be84c73ef450d88bb1 100644 --- a/board/lart/memsetup.S +++ b/board/lart/lowlevel_init.S @@ -53,8 +53,8 @@ mecr: .long 0x00060006 /* setting up the memory */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: ldr r0, MEM_BASE /* Setup the flash memory */ diff --git a/board/logodl/Makefile b/board/logodl/Makefile index b635322a81059175cbab3da1c7069358f96e8f4a..c7cde7d57908d6c7be255b137407c296aeddfa13 100644 --- a/board/logodl/Makefile +++ b/board/logodl/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := logodl.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $^ diff --git a/board/innokom/memsetup.S b/board/logodl/lowlevel_init.S similarity index 98% rename from board/innokom/memsetup.S rename to board/logodl/lowlevel_init.S index 68577ca0699e8d7790ee880f219c19634350caf1..aa9dcba6fc46b4e46a689e83c700d78c95ddd235 100644 --- a/board/innokom/memsetup.S +++ b/board/logodl/lowlevel_init.S @@ -3,7 +3,7 @@ * * NOTE: I haven't clean this up considerably, just enough to get it * running. See hal_platform_setup.h for the source. See - * board/cradle/memsetup.S for another PXA250 setup that is + * board/cradle/lowlevel_init.S for another PXA250 setup that is * much cleaner. * * See file CREDITS for list of people who contributed to this @@ -46,8 +46,8 @@ _TEXT_BASE: * Memory setup */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -429,9 +429,9 @@ initclks: #endif /* ---------------------------------------------------------------- */ - /* End memsetup */ + /* End lowlevel_init */ /* ---------------------------------------------------------------- */ -endmemsetup: +endlowlevel_init: mov pc, lr diff --git a/board/lpd7a40x/Makefile b/board/lpd7a40x/Makefile index f0999d17381f41af25fcac356baca015b3d5f39c..ebe14df1b61e7e705d10186e6845b7c0e6326a07 100644 --- a/board/lpd7a40x/Makefile +++ b/board/lpd7a40x/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := lpd7a40x.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/lpd7a40x/memsetup.S b/board/lpd7a40x/lowlevel_init.S similarity index 99% rename from board/lpd7a40x/memsetup.S rename to board/lpd7a40x/lowlevel_init.S index d4e6c6a0e1db4c7e4e7d101d1a387492be66c75f..b3ed55ce35eaee428f8f0ffe01674c4244f30874 100644 --- a/board/lpd7a40x/memsetup.S +++ b/board/lpd7a40x/lowlevel_init.S @@ -131,8 +131,8 @@ _TEXT_BASE: .word TEXT_BASE -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r9, lr @ save return address /* memory control configuration */ diff --git a/board/lubbock/Makefile b/board/lubbock/Makefile index 0e29e7be7aaabe7e98b6d2801f274b9699fe648d..106622cf58720f3e671e88362a0b74b7004b6ecb 100644 --- a/board/lubbock/Makefile +++ b/board/lubbock/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := lubbock.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/lubbock/memsetup.S b/board/lubbock/lowlevel_init.S similarity index 98% rename from board/lubbock/memsetup.S rename to board/lubbock/lowlevel_init.S index dc0b7be024b0b0d0ba467f73a7005b9b55ba7856..15276e89d0195150bc2e1b8e9b65ee96f2a7d5ca 100644 --- a/board/lubbock/memsetup.S +++ b/board/lubbock/lowlevel_init.S @@ -3,7 +3,7 @@ * * NOTE: I haven't clean this up considerably, just enough to get it * running. See hal_platform_setup.h for the source. See - * board/cradle/memsetup.S for another PXA250 setup that is + * board/cradle/lowlevel_init.S for another PXA250 setup that is * much cleaner. * * See file CREDITS for list of people who contributed to this @@ -43,8 +43,8 @@ DRAM_SIZE: .long CFG_DRAM_SIZE * Memory setup */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -403,9 +403,9 @@ initclks: #endif /* ---------------------------------------------------------------- */ - /* End memsetup */ + /* End lowlevel_init */ /* ---------------------------------------------------------------- */ -endmemsetup: +endlowlevel_init: mov pc, lr diff --git a/board/modnet50/Makefile b/board/modnet50/Makefile index 7dbcc1c9378025422381b0bbd9fb0409095332ba..ab2c376ff4661042f58d780dfe2c60a6637520e9 100644 --- a/board/modnet50/Makefile +++ b/board/modnet50/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := modnet50.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $^ diff --git a/board/modnet50/memsetup.S b/board/modnet50/lowlevel_init.S similarity index 99% rename from board/modnet50/memsetup.S rename to board/modnet50/lowlevel_init.S index 674b1d2e058bd257adb759c4afed4bd8abf5114e..c98c15545828e9a9c403ffba1fd890eebbe6a760 100644 --- a/board/modnet50/memsetup.S +++ b/board/modnet50/lowlevel_init.S @@ -51,8 +51,8 @@ #define NETARM_MMAP_CS4_MASK (~(PHYS_EXT_SIZE - 1)) /* setting up the memory */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: #if defined(CONFIG_MODNET50) ldr pc, =(_jump_to_high + NETARM_MMAP_CS0_BASE - TEXT_BASE) @@ -187,7 +187,7 @@ memsetup_cs3: #endif /* CONFIG_MODNET50 */ -memsetup_end: +lowlevel_init_end: /* * manipulate address in lr and ip to match new * address space diff --git a/board/mpl/vcma9/Makefile b/board/mpl/vcma9/Makefile index f9b78f947d942bd0d3b83d8450034bafab90b535..304c965d12ba8cfc5dd996a76a56466e9f451636 100644 --- a/board/mpl/vcma9/Makefile +++ b/board/mpl/vcma9/Makefile @@ -28,7 +28,7 @@ LIB = lib$(BOARD).a OBJS := vcma9.o flash.o cmd_vcma9.o OBJS += ../common/common_util.o ../common/memtst.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/mpl/vcma9/memsetup.S b/board/mpl/vcma9/lowlevel_init.S similarity index 99% rename from board/mpl/vcma9/memsetup.S rename to board/mpl/vcma9/lowlevel_init.S index 98aec3db4dfb75fe2498cd8034633fe1b43b6382..a02335314bb80d234a080cc59e9ef5be59b7cc8e 100644 --- a/board/mpl/vcma9/memsetup.S +++ b/board/mpl/vcma9/lowlevel_init.S @@ -130,8 +130,8 @@ _TEXT_BASE: .word TEXT_BASE -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* memory control configuration */ /* make r0 relative the current location so that it */ /* reads SMRDATA out of FLASH rather than memory ! */ diff --git a/board/mx1ads/Makefile b/board/mx1ads/Makefile index 72f850d9cec89c8f3950ee0d14c94b6667271a80..3e805feb404aaeefc70c1b11a2c87dc57d50779e 100644 --- a/board/mx1ads/Makefile +++ b/board/mx1ads/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := mx1ads.o syncflash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/mx1ads/memsetup.S b/board/mx1ads/lowlevel_init.S similarity index 96% rename from board/mx1ads/memsetup.S rename to board/mx1ads/lowlevel_init.S index 1b06fa3c4d4e733f05ddca1de615951244e0f1cb..09c260d64dce523331cd4d7b831ff0fd4a77dd14 100644 --- a/board/mx1ads/memsetup.S +++ b/board/mx1ads/lowlevel_init.S @@ -1,5 +1,5 @@ /* - * board/mx1ads/memsetup.S + * board/mx1ads/lowlevel_init.S * * (c) Copyright 2004 * Techware Information Technology, Inc. @@ -33,8 +33,8 @@ _TEXT_BASE: .word TEXT_BASE -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* memory controller init */ ldr r1, =SDCTL0 diff --git a/board/mx1fs2/Makefile b/board/mx1fs2/Makefile index 86aef5c3da8fbb5e0a82466ac1249efe320245ef..9e3bca14cd9118be07ce3d5d193b7d575855edc2 100644 --- a/board/mx1fs2/Makefile +++ b/board/mx1fs2/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := mx1fs2.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $^ diff --git a/board/mx1fs2/memsetup.S b/board/mx1fs2/lowlevel_init.S similarity index 99% rename from board/mx1fs2/memsetup.S rename to board/mx1fs2/lowlevel_init.S index 5ec751b73ddce84555136a1a74f70189d6b2948a..8211beb3f88a37c167b352fd759775a89845ab4e 100644 --- a/board/mx1fs2/memsetup.S +++ b/board/mx1fs2/lowlevel_init.S @@ -22,8 +22,8 @@ #include #include -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr diff --git a/board/pleb2/Makefile b/board/pleb2/Makefile index 5fdc874dfe25c2e719dbfb7aa078f3ecb66ece64..95d9170b240658a817918b4c7f947d13a4fbbb36 100644 --- a/board/pleb2/Makefile +++ b/board/pleb2/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := pleb2.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/pleb2/memsetup.S b/board/pleb2/lowlevel_init.S similarity index 99% rename from board/pleb2/memsetup.S rename to board/pleb2/lowlevel_init.S index f2e1ce9d431bba9752b0144e9bfeb85af18dd72d..add2c531ab2174140f6eccc0a1c12e5d774bf1d4 100644 --- a/board/pleb2/memsetup.S +++ b/board/pleb2/lowlevel_init.S @@ -33,8 +33,8 @@ DRAM_SIZE: .long CFG_DRAM_SIZE sub pc,pc,#4 .endm -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -485,4 +485,4 @@ mem_init: mov pc, r10 -@ End memsetup +@ End lowlevel_init diff --git a/board/purple/Makefile b/board/purple/Makefile index a9463b6215716607151d6cdfc5ff3eba419a82b1..b2f2fc0fd35dcc98098b1f935604dc89159a067a 100644 --- a/board/purple/Makefile +++ b/board/purple/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS = $(BOARD).o flash.o sconsole.o -SOBJS = memsetup.o +SOBJS = lowlevel_init.o $(LIB): .depend $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) diff --git a/board/purple/memsetup.S b/board/purple/lowlevel_init.S similarity index 96% rename from board/purple/memsetup.S rename to board/purple/lowlevel_init.S index d532ceba827e2c5711261a430da6e7ae295a5880..668124a784d1ecd0fff12b50df518f96112c9798 100644 --- a/board/purple/memsetup.S +++ b/board/purple/lowlevel_init.S @@ -28,8 +28,8 @@ #define MC_IOGP 0xBF800800 - .globl memsetup -memsetup: + .globl lowlevel_init +lowlevel_init: li t0, MC_IOGP li t1, 0xf24 sw t1, 0(t0) diff --git a/board/purple/u-boot.lds b/board/purple/u-boot.lds index 6263dd005299ec039cf7f2a7ff7ee7d034645ab7..aeea5d475e4b33a3e1157e6d64387f388df0ac75 100644 --- a/board/purple/u-boot.lds +++ b/board/purple/u-boot.lds @@ -35,7 +35,7 @@ SECTIONS .text : { cpu/mips/start.o (.text) - board/purple/memsetup.o (.text) + board/purple/lowlevel_init.o (.text) cpu/mips/cache.o (.text) common/main.o (.text) common/dlmalloc.o (.text) diff --git a/board/scb9328/Makefile b/board/scb9328/Makefile index 212efcc4e5512d86fa55e9c555c59afa67657017..5dc3fd4e476b004ff2af9213823ced8847ae4c73 100644 --- a/board/scb9328/Makefile +++ b/board/scb9328/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := scb9328.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $^ diff --git a/board/scb9328/memsetup.S b/board/scb9328/lowlevel_init.S similarity index 99% rename from board/scb9328/memsetup.S rename to board/scb9328/lowlevel_init.S index be5650a45f7998163f8619f571e0b8a2309c8c73..ba3b6d241834f12c64e9cb2c5605c3477c01c7bb 100644 --- a/board/scb9328/memsetup.S +++ b/board/scb9328/lowlevel_init.S @@ -22,8 +22,8 @@ #include #include -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr diff --git a/board/shannon/Makefile b/board/shannon/Makefile index 86098a3053a8a35aa0c1b5ebc69aa9dd5e05d792..f66b096a4f7d9039899e248bedb264dda7005731 100644 --- a/board/shannon/Makefile +++ b/board/shannon/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := shannon.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/shannon/memsetup.S b/board/shannon/lowlevel_init.S similarity index 98% rename from board/shannon/memsetup.S rename to board/shannon/lowlevel_init.S index a9a8777d3721c9ab6668bfbcf3e56be82784d1b2..0655c42d3be4b53359346c2a1a4277cc1ca1d2f5 100644 --- a/board/shannon/memsetup.S +++ b/board/shannon/lowlevel_init.S @@ -51,8 +51,8 @@ mecr: .long 0x7fff7fff @ 01000000 /* setting up the memory */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: ldr r0, MEM_BASE /* Setup the flash memory */ diff --git a/board/smdk2400/Makefile b/board/smdk2400/Makefile index 367eabddbfe31f8a72ac05f9b3f8144aa60386ab..fc3d48faeeacf6a5b8385f129dd94554ff51209a 100644 --- a/board/smdk2400/Makefile +++ b/board/smdk2400/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := smdk2400.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/smdk2400/memsetup.S b/board/smdk2400/lowlevel_init.S similarity index 99% rename from board/smdk2400/memsetup.S rename to board/smdk2400/lowlevel_init.S index b507d812595c2dbaa30aa7e5ddeb307770128663..a5de806af55c1da20bd9e3c91157d048893cf74a 100644 --- a/board/smdk2400/memsetup.S +++ b/board/smdk2400/lowlevel_init.S @@ -125,8 +125,8 @@ _TEXT_BASE: .word TEXT_BASE -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* memory control configuration */ /* make r0 relative the current location so that it */ /* reads SMRDATA out of FLASH rather than memory ! */ diff --git a/board/smdk2410/Makefile b/board/smdk2410/Makefile index af1e6e677e84da58d8a8c87f7a1ac03fd9e0ab09..4ee21f5977acc6d7c8ee29c3634f7611b0157e3a 100644 --- a/board/smdk2410/Makefile +++ b/board/smdk2410/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := smdk2410.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/smdk2410/memsetup.S b/board/smdk2410/lowlevel_init.S similarity index 99% rename from board/smdk2410/memsetup.S rename to board/smdk2410/lowlevel_init.S index c00e772ff898500c19eb59157439c18d01bddb35..310f2a0a94a4ac48099358e86bc04403929cacb1 100644 --- a/board/smdk2410/memsetup.S +++ b/board/smdk2410/lowlevel_init.S @@ -129,8 +129,8 @@ _TEXT_BASE: .word TEXT_BASE -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* memory control configuration */ /* make r0 relative the current location so that it */ /* reads SMRDATA out of FLASH rather than memory ! */ diff --git a/board/tb0229/Makefile b/board/tb0229/Makefile index e7bb8cbe50d262c38792334df5b443ee0a3d3470..4375073af9b46e19b0535af570a0f6ae0cc8347f 100644 --- a/board/tb0229/Makefile +++ b/board/tb0229/Makefile @@ -28,7 +28,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS = $(BOARD).o flash.o vr4131-pci.o -SOBJS = memsetup.o +SOBJS = lowlevel_init.o $(LIB): .depend $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/tb0229/memsetup.S b/board/tb0229/lowlevel_init.S similarity index 96% rename from board/tb0229/memsetup.S rename to board/tb0229/lowlevel_init.S index 0eaf45dd59f9d4cf029b27da92a84a4d07e8f79c..df318067b931778b0e39395ae94b1ec279264ff2 100644 --- a/board/tb0229/memsetup.S +++ b/board/tb0229/lowlevel_init.S @@ -14,8 +14,8 @@ #include - .globl memsetup -memsetup: + .globl lowlevel_init +lowlevel_init: /* BCUCNTREG1 = 0x0040 */ la t0, 0xaf000000 diff --git a/board/trab/Makefile b/board/trab/Makefile index 4e6e9d68cb1f5f382343465c2ebca68a831859b2..ced9bc5bc8fd5fe02009536225ad04181392ed3d 100644 --- a/board/trab/Makefile +++ b/board/trab/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := trab.o flash.o vfd.o cmd_trab.o memory.o tsc2000.o auto_update.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`) diff --git a/board/trab/memsetup.S b/board/trab/lowlevel_init.S similarity index 99% rename from board/trab/memsetup.S rename to board/trab/lowlevel_init.S index c93dff67062f9570ab17819f9ec9ee96e227bfe4..128ae7e4aa55e04d801e5458203b381d2bfcd60f 100644 --- a/board/trab/memsetup.S +++ b/board/trab/lowlevel_init.S @@ -140,8 +140,8 @@ _TEXT_BASE: .word TEXT_BASE -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: /* memory control configuration */ /* make r0 relative the current location so that it */ /* reads SMRDATA out of FLASH rather than memory ! */ diff --git a/board/wepep250/Makefile b/board/wepep250/Makefile index 802ccb950fbd252c2ff28e86e9db925a372e2cf1..11ad8fbeccd3e6d11fa03c2763d14408c5f3a4e6 100644 --- a/board/wepep250/Makefile +++ b/board/wepep250/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := wepep250.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/wepep250/memsetup.S b/board/wepep250/lowlevel_init.S similarity index 99% rename from board/wepep250/memsetup.S rename to board/wepep250/lowlevel_init.S index 26fc0eaf254fcc4992162778e2cabdbfba66d468..b172ceaa6146f72e937c0917d84dab2677c139f2 100644 --- a/board/wepep250/memsetup.S +++ b/board/wepep250/lowlevel_init.S @@ -35,8 +35,8 @@ #include #include -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr diff --git a/board/xaeniax/Makefile b/board/xaeniax/Makefile index da5a5bad3bef4b842117fff6abe569f53a55ccda..7c5f0cd1a1f4d8c9fe1440f976f8d5dd8f082a00 100644 --- a/board/xaeniax/Makefile +++ b/board/xaeniax/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := xaeniax.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/xaeniax/memsetup.S b/board/xaeniax/lowlevel_init.S similarity index 98% rename from board/xaeniax/memsetup.S rename to board/xaeniax/lowlevel_init.S index 5c43b85ad410c7add680d0d4de7d1757736d2e48..fe3e7128a4bfd7b41faa80124445bcd909c00619 100644 --- a/board/xaeniax/memsetup.S +++ b/board/xaeniax/lowlevel_init.S @@ -3,7 +3,7 @@ * * NOTE: I haven't clean this up considerably, just enough to get it * running. See hal_platform_setup.h for the source. See - * board/cradle/memsetup.S for another PXA250 setup that is + * board/cradle/lowlevel_init.S for another PXA250 setup that is * much cleaner. * * See file CREDITS for list of people who contributed to this @@ -39,8 +39,8 @@ DRAM_SIZE: .long CFG_DRAM_SIZE .endm -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -416,9 +416,9 @@ test: #endif /* ---------------------------------------------------------------- */ - /* End memsetup */ + /* End lowlevel_init */ /* ---------------------------------------------------------------- */ -endmemsetup: +endlowlevel_init: mov pc, lr diff --git a/board/xm250/Makefile b/board/xm250/Makefile index 3572f7268370f9c4827d09495c9e88ddb3281916..1b0a3f0178fff944ce67898f103e0abf4aca6d47 100644 --- a/board/xm250/Makefile +++ b/board/xm250/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := xm250.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $^ diff --git a/board/xm250/memsetup.S b/board/xm250/lowlevel_init.S similarity index 99% rename from board/xm250/memsetup.S rename to board/xm250/lowlevel_init.S index f68e8433930da7b55b7a2855916c14e7d593f3ab..2ebd39554a16011b5233aec79ce3de9e1176c27d 100644 --- a/board/xm250/memsetup.S +++ b/board/xm250/lowlevel_init.S @@ -43,8 +43,8 @@ DRAM_SIZE: .long CFG_DRAM_SIZE .endm */ -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr @@ -516,4 +516,4 @@ mem_init: mov pc, r10 -@ End memsetup +@ End lowlevel_init diff --git a/board/xsengine/Makefile b/board/xsengine/Makefile index 591b728de15d7649e41b59e35f6c338cb2fcef32..ed1464af3e948ad4e9d7252d0867e41a349e3ba4 100644 --- a/board/xsengine/Makefile +++ b/board/xsengine/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a OBJS := xsengine.o flash.o -SOBJS := memsetup.o +SOBJS := lowlevel_init.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) $(SOBJS) diff --git a/board/xsengine/memsetup.S b/board/xsengine/lowlevel_init.S similarity index 99% rename from board/xsengine/memsetup.S rename to board/xsengine/lowlevel_init.S index b94711846e095b8ef364cf75d030be11fc00029b..309faabd921f327d841e8e918461475e5416a379 100644 --- a/board/xsengine/memsetup.S +++ b/board/xsengine/lowlevel_init.S @@ -4,8 +4,8 @@ DRAM_SIZE: .long CFG_DRAM_SIZE -.globl memsetup -memsetup: +.globl lowlevel_init +lowlevel_init: mov r10, lr diff --git a/cpu/arm720t/start.S b/cpu/arm720t/start.S index bde936a7517201b8d4b4313120609d4e75d90bc0..0e15965df6b2d67b999d64a4e8afb1eaec9c694c 100644 --- a/cpu/arm720t/start.S +++ b/cpu/arm720t/start.S @@ -316,10 +316,10 @@ cpu_init_crit: /* * before relocating, we have to setup RAM timing * because memory timing is board-dependent, you will - * find a memsetup.S in your board directory. + * find a lowlevel_init.S in your board directory. */ mov ip, lr - bl memsetup + bl lowlevel_init mov lr, ip mov pc, lr diff --git a/cpu/arm920t/start.S b/cpu/arm920t/start.S index f3481936425902d27c19bf12b53c8b4adff6a8ec..a7cabf8f32118df690ad5eb0615611b8038c301c 100644 --- a/cpu/arm920t/start.S +++ b/cpu/arm920t/start.S @@ -257,10 +257,10 @@ cpu_init_crit: /* * before relocating, we have to setup RAM timing * because memory timing is board-dependend, you will - * find a memsetup.S in your board directory. + * find a lowlevel_init.S in your board directory. */ mov ip, lr - bl memsetup + bl lowlevel_init mov lr, ip mov pc, lr diff --git a/cpu/at91rm9200/lowlevel.S b/cpu/at91rm9200/lowlevel.S index 030f9e194a89626da111d9c4e95f71d221730df7..c8af7a602aabf83cd049588fb8f1816ace91efee 100644 --- a/cpu/at91rm9200/lowlevel.S +++ b/cpu/at91rm9200/lowlevel.S @@ -30,7 +30,7 @@ #include #include -#ifdef CONFIG_BOOTBINFUNC +#ifdef CONFIG_INIT_CRITICAL /* * some parameters for the board * @@ -197,4 +197,4 @@ SMRDATA1: .word SDRAM .word SDRAM_VAL /* SMRDATA1 is 176 bytes long */ -#endif /* CONFIG_BOOTBINFUNC */ +#endif /* CONFIG_INIT_CRITICAL */ diff --git a/cpu/at91rm9200/start.S b/cpu/at91rm9200/start.S index 0dbc0094a4a2a17350272e35e515a94cf62a6486..e897e6b9c9091f5dd3ca47b76af25226982f6ec8 100644 --- a/cpu/at91rm9200/start.S +++ b/cpu/at91rm9200/start.S @@ -115,7 +115,7 @@ reset: orr r0,r0,#0xd3 /* was 13 */ msr cpsr,r0 -#ifdef CONFIG_BOOTBINFUNC +#ifdef CONFIG_INIT_CRITICAL /* scratch stack */ ldr r1, =0x00204000 /* Insure word alignment */ @@ -141,7 +141,7 @@ reset: orr r0, r0, #0x00001000 @ set bit 12 (I) I-Cache orr r0, r0, #0xC0000000 @ set bits 31:30 (iA, nF) mcr p15, 0, r0, c1, c0, 0 @ write r0 in cp15 control register (cp15 r1) -#endif /* CONFIG_BOOTBINFUNC */ +#endif /* CONFIG_INIT_CRITICAL */ /* * relocate exeception table */ @@ -160,9 +160,7 @@ copyex: */ #ifdef CONFIG_INIT_CRITICAL bl cpu_init_crit -#endif -#ifdef CONFIG_BOOTBINFUNC relocate: /* relocate U-Boot to RAM */ adr r0, _start /* r0 <- current position of code */ ldr r1, _TEXT_BASE /* test if we run from flash or RAM */ @@ -179,7 +177,7 @@ copy_loop: stmia r1!, {r3-r10} /* copy to target address [r1] */ cmp r0, r2 /* until source end addreee [r2] */ ble copy_loop -#endif /* CONFIG_BOOTBINFUNC */ +#endif /* CONFIG_INIT_CRITICAL */ /* Set up the stack */ stack_setup: diff --git a/cpu/lh7a40x/start.S b/cpu/lh7a40x/start.S index 4f023a59fe9c7fffa33f47324e374a7f26b4b0da..5dca77363f9a84a148a4e51947d8513dbc98cb32 100644 --- a/cpu/lh7a40x/start.S +++ b/cpu/lh7a40x/start.S @@ -229,10 +229,10 @@ cpu_init_crit: /* * before relocating, we have to setup RAM timing * because memory timing is board-dependend, you will - * find a memsetup.S in your board directory. + * find a lowlevel_init.S in your board directory. */ mov ip, lr - bl memsetup + bl lowlevel_init mov lr, ip mov pc, lr diff --git a/cpu/mips/start.S b/cpu/mips/start.S index 45a90a80fae3955d8ba0b9e0938007c8a3504bc1..ff105a418401c953cd817ef8b1e42eeec30c7d23 100644 --- a/cpu/mips/start.S +++ b/cpu/mips/start.S @@ -243,7 +243,7 @@ reset: /* Initialize any external memory. */ - bal memsetup + bal lowlevel_init nop /* Initialize caches... diff --git a/cpu/pxa/start.S b/cpu/pxa/start.S index d74f41ff383d822e67c67a5b38c34c124a8f6b25..da753a18dac62ecc9779bfb94bc03a55a5653f9a 100644 --- a/cpu/pxa/start.S +++ b/cpu/pxa/start.S @@ -218,10 +218,10 @@ setspeed_done: /* * before relocating, we have to setup RAM timing * because memory timing is board-dependend, you will - * find a memsetup.S in your board directory. + * find a lowlevel_init.S in your board directory. */ mov ip, lr - bl memsetup + bl lowlevel_init mov lr, ip /* Memory interfaces are working. Disable MMU and enable I-cache. */ diff --git a/cpu/s3c44b0/start.S b/cpu/s3c44b0/start.S index b4b7c3f62cec4ba761989c5abd67fa87fe1e752c..fc7f59228ad673bd61a70871f7433b19f17294db 100644 --- a/cpu/s3c44b0/start.S +++ b/cpu/s3c44b0/start.S @@ -117,9 +117,9 @@ reset: /* * before relocating, we have to setup RAM timing * because memory timing is board-dependend, you will - * find a memsetup.S in your board directory. + * find a lowlevel_init.S in your board directory. */ - bl memsetup + bl lowlevel_init #endif relocate: /* relocate U-Boot to RAM */ diff --git a/cpu/sa1100/start.S b/cpu/sa1100/start.S index 797434407055c3ba7b15824c3d0c017a5690fecc..08e41c7d793042d695388b78ee36b1039a9288a3 100644 --- a/cpu/sa1100/start.S +++ b/cpu/sa1100/start.S @@ -213,10 +213,10 @@ cpu_init_crit: /* * before relocating, we have to setup RAM timing * because memory timing is board-dependend, you will - * find a memsetup.S in your board directory. + * find a lowlevel_init.S in your board directory. */ mov ip, lr - bl memsetup + bl lowlevel_init mov lr, ip /* diff --git a/doc/README.modnet50 b/doc/README.modnet50 index d8d9c9d8210b85b57a7c161cfac589a47ad3569e..30338ce8cc74cde0c1ae7cb91b4d636193dccdd5 100644 --- a/doc/README.modnet50 +++ b/doc/README.modnet50 @@ -47,7 +47,7 @@ Files: cpu/arm720t/serial_netarm.c .. serial I/O for the cpu -board/modnet50/memsetup.S .. memory setup for ModNET50 +board/modnet50/lowlevel_init.S .. memory setup for ModNET50 board/modnet50/flash.c .. flash routines board/modnet50/modnet50.c .. some board init stuff diff --git a/include/configs/B2.h b/include/configs/B2.h index 2fc97b27c2e2b5da611d498032b396d4e5c997a3..b031826f3f9d31fee97ae8dcc8b6ca432c39e880 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 de7f387817ff76f38fbd6c5a21c2776e2cf1b3ea..7c51a1b040ff50cc15e87f7d0b66d9fafd9c549b 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 9ca80ab6707d1e8f8ea0b0efaeb0755fd54290e6..2c664d5936609790c5fa747c6b258b457cbfd495 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 8146fe723d61c5480ebf98bd983496db613704d7..d32ec34fc2a708431864581d910d8fbc4970240b 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 34efc384b917d98a2d5b2507dbb7d6120f812d81..5a0f460e68be038fde1b8421f0f5223f814da744 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 2cec4c7c513ae8be85cdff988547e2399811dff1..ca7a97b5628bad13d879c99b870cd5a4a3b11c84 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 1b39d23c884e38e22ef525e07a35a1d5e503e984..0b2b251baeba3752fd8481ea531b5fcf6cedb87c 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 f3a871bda3f8d3df608325ba646fc8e5a35c9770..b14e35b6288613d947b0c09f0f9fc6b11c4d7eba 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 d9dd620c1ca851627d54e82ec0e3bd29cee5c062..41ad3943e1c2b5da9796ed97c375afb572047a7b 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 24b1779b4cd7135c0d233865c5a042d8158a6c85..9e0ed51fa4852b32f39ff1fbeaf720c15d70a8cd 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 618b25ae2df9dfecaa8e8b4b20370563c0e9f606..dbb8dec85dcf7f16ad07f66174129db7de3c64ac 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 b4c1edfa3dc6e22b2f5a4c5561a26637676c3a82..dbc951de65e4cedbf4d362dd380198c69b3b9e9e 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 f8845192218414f0427812689d4809f98cf450c2..a3d36a0d8f0c70f78cb6cd37a0713f6a7a920882 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 1add778e5fe612a18418243d441998bece32c038..a8067f6ef2ae5ad756e4fe31acbdf9f3242097a4 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 c98f3777ca2f704c8fe8103361474f760c29be21..3c9895ab27e82fc043169e1e55c7142c96055e76 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 2aee461fdd88eb6eb90507fc25d158397af9eb4c..b320a4050dfeb6aac407fa81236e77dfd463fb14 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 808fe1c7b0976cf5e7c11904eb1f61a05dccacdc..6f2c32c5469fa17175940280647df577f777e348 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 de465ea368cef7738af74e44b6d945ff125617a4..e6855fb1ef36e83af502468aee616f3be11be8d1 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 efe205de4cad691928f01939f630a5dd1d2867e6..536a175bd6584f9f9b848cc94fd508b5f97b3f87 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 fd1b47c4fc41753850e9717e7b1a7e700a206745..166aa1180cf95def0b65cfc4fc6e09e5c2faa2f7 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 3f1419e5ab51661fe3e18c11f90ddb3a888becfd..f7ccea3d45ee54ecf68ffa811b82bd0d7cb3a7e5 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 11d21b20d19da5353535782ea1a147813966b464..af39e2e88d4cf59e949e9772e632f29be14451cd 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 88d6c462b431d317ab7c9b2338ec9653f846cfeb..552beedc5cff46c4981d4f5002c08e98151548b1 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 beff6d89d71a0a4040269853abd64c78fd9dfdb1..9b822152c2488accc975dbfd85e40c784baf67e1 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 d0608ddef947135e5d23c14b5d2ba178c8be7062..c00976efd14f0d07a8da80469957018e821e9620 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 43be807f6a5f0cd918d8cfc4c306b29bfe085d50..cd2dbf18b821674f6a8fad7090522de5be42b1e5 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 ace380fe2f00ce456905765ed06566458bc1f2c3..1bdea6c5ab77ea7bdf5d57562f8c62daa9620adc 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 f7338034b74725f3791f935eb200a2369fbd4ccd..9ba19c850684b3e370e6994e9085ec562bca7924 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 7afe62d7cc1f0f8fd3f9048df406345b51b8aa3a..8a4e3709b14165c92703c9379476c078279332c1 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 b95b8c073c8dd8848ee39e72ed30f7cc9b3c5c20..f477575be8df2c49bed6f675d4cb97d1ee316cbe 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 7e3a02d29baccf473fb9af070ae5456771124bf9..2a1cd7707a52ee17733d0967ec7b87fd373236c0 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 e8c437364fcf765a17e618b94e1e4d3c74e32ba8..6fda7b96fd503c43622d337b334813a278bf7f34 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 137d9346773f819147b57f458606e43eee7311ac..2f59260564428162cc3da6d275ef8c2e125345f4 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 a8a8ee535cdc7708e714b0bb761356ce5c37a2db..ca32efb3c45a440bdae1823766ee1c6d556f1c16 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 fc3739f41d553c32e57035916ac7d35c177a5edd..1177003c801e74d47bc4c7e184c22bdf68846d47 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 10f69d998e038ad99fc63a0f6c5d330dba66c030..1be7dd46a7df35a5b219f33d7d3338b438f654e9 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 87d2c942d7607053339a6dcf28c753be3bd08f8a..6b15766daa2a94805b7f3c65051ee64e4c9ac286 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 */