From 14d0a02a168b36e87665b8d7f42fa3e88263d26d Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 7 Oct 2010 21:51:12 +0200 Subject: Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE The change is currently needed to be able to remove the board configuration scripting from the top level Makefile and replace it by a simple, table driven script. Moving this configuration setting into the "CONFIG_*" name space is also desirable because it is needed if we ever should move forward to a Kconfig driven configuration system. Signed-off-by: Wolfgang Denk --- board/esd/adciop/config.mk | 6 +++--- board/esd/apc405/config.mk | 2 +- board/esd/ar405/config.mk | 2 +- board/esd/ash405/config.mk | 2 +- board/esd/canbt/config.mk | 2 +- board/esd/cms700/config.mk | 2 +- board/esd/cpci2dp/config.mk | 2 +- board/esd/cpci405/config.mk | 2 +- board/esd/cpci5200/config.mk | 11 ++++++----- board/esd/cpci750/config.mk | 2 +- board/esd/cpciiser4/config.mk | 6 +++--- board/esd/dasa_sim/config.mk | 2 +- board/esd/dp405/config.mk | 2 +- board/esd/du405/config.mk | 6 +++--- board/esd/du440/config.mk | 4 ++-- board/esd/hh405/config.mk | 8 ++++---- board/esd/hub405/config.mk | 2 +- board/esd/mecp5123/config.mk | 2 +- board/esd/mecp5200/config.mk | 11 ++++++----- board/esd/meesc/config.mk | 2 +- board/esd/ocrtc/config.mk | 4 ++-- board/esd/otc570/config.mk | 2 +- board/esd/pci405/config.mk | 4 ++-- board/esd/pf5200/config.mk | 11 ++++++----- board/esd/plu405/config.mk | 2 +- board/esd/pmc405/config.mk | 2 +- board/esd/pmc405de/config.mk | 2 +- board/esd/pmc440/config.mk | 4 ++-- board/esd/tasreg/config.mk | 2 +- board/esd/vme8349/config.mk | 2 +- board/esd/voh405/config.mk | 2 +- board/esd/vom405/config.mk | 2 +- board/esd/wuh405/config.mk | 2 +- 33 files changed, 61 insertions(+), 58 deletions(-) (limited to 'board/esd') diff --git a/board/esd/adciop/config.mk b/board/esd/adciop/config.mk index 747f29f77e..854bfeca04 100644 --- a/board/esd/adciop/config.mk +++ b/board/esd/adciop/config.mk @@ -26,8 +26,8 @@ # # FLASH: -#TEXT_BASE = 0xFFFE0000 -TEXT_BASE = 0xFFFD0000 +#CONFIG_SYS_TEXT_BASE = 0xFFFE0000 +CONFIG_SYS_TEXT_BASE = 0xFFFD0000 # SDRAM: -#TEXT_BASE = 0x00FE0000 +#CONFIG_SYS_TEXT_BASE = 0x00FE0000 diff --git a/board/esd/apc405/config.mk b/board/esd/apc405/config.mk index 11faad2e00..884565fef0 100644 --- a/board/esd/apc405/config.mk +++ b/board/esd/apc405/config.mk @@ -25,4 +25,4 @@ # esd ABG405 boards # -TEXT_BASE = 0xFFF80000 +CONFIG_SYS_TEXT_BASE = 0xFFF80000 diff --git a/board/esd/ar405/config.mk b/board/esd/ar405/config.mk index da7c10728f..a5f29ec546 100644 --- a/board/esd/ar405/config.mk +++ b/board/esd/ar405/config.mk @@ -20,4 +20,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -TEXT_BASE = 0xFFFA0000 +CONFIG_SYS_TEXT_BASE = 0xFFFA0000 diff --git a/board/esd/ash405/config.mk b/board/esd/ash405/config.mk index 1d743a9f87..40e83089d6 100644 --- a/board/esd/ash405/config.mk +++ b/board/esd/ash405/config.mk @@ -25,4 +25,4 @@ # esd ASH405 boards # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/canbt/config.mk b/board/esd/canbt/config.mk index ae855dc057..805d67bfe3 100644 --- a/board/esd/canbt/config.mk +++ b/board/esd/canbt/config.mk @@ -20,4 +20,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/cms700/config.mk b/board/esd/cms700/config.mk index 8e48bcd6cb..cdc2eafe3d 100644 --- a/board/esd/cms700/config.mk +++ b/board/esd/cms700/config.mk @@ -20,4 +20,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -TEXT_BASE = 0xFFFC8000 +CONFIG_SYS_TEXT_BASE = 0xFFFC8000 diff --git a/board/esd/cpci2dp/config.mk b/board/esd/cpci2dp/config.mk index 2da4c9f765..188558e3f6 100644 --- a/board/esd/cpci2dp/config.mk +++ b/board/esd/cpci2dp/config.mk @@ -25,4 +25,4 @@ # esd CPCI2DP board # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/cpci405/config.mk b/board/esd/cpci405/config.mk index 1bdf5e4fcf..1646d34237 100644 --- a/board/esd/cpci405/config.mk +++ b/board/esd/cpci405/config.mk @@ -21,4 +21,4 @@ # MA 02111-1307 USA # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/cpci5200/config.mk b/board/esd/cpci5200/config.mk index 170779d6c1..106498d059 100644 --- a/board/esd/cpci5200/config.mk +++ b/board/esd/cpci5200/config.mk @@ -24,7 +24,7 @@ # # IceCube board: # -# Valid values for TEXT_BASE are: +# Valid values for CONFIG_SYS_TEXT_BASE are: # # 0xFFF00000 boot high (standard configuration) # 0xFF000000 boot low for 16 MiB boards @@ -34,11 +34,12 @@ sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp -ifndef TEXT_BASE +ifndef CONFIG_SYS_TEXT_BASE ## Standard: boot high -TEXT_BASE = 0xFFF00000 +CONFIG_SYS_TEXT_BASE = 0xFFF00000 ## For testing: boot from RAM -# TEXT_BASE = 0x00100000 +# CONFIG_SYS_TEXT_BASE = 0x00100000 endif -PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)/board +PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \ + -I$(TOPDIR)/board diff --git a/board/esd/cpci750/config.mk b/board/esd/cpci750/config.mk index 7795dfa813..d17e139815 100644 --- a/board/esd/cpci750/config.mk +++ b/board/esd/cpci750/config.mk @@ -25,4 +25,4 @@ # cpci750 board # -TEXT_BASE = 0xfff00000 +CONFIG_SYS_TEXT_BASE = 0xfff00000 diff --git a/board/esd/cpciiser4/config.mk b/board/esd/cpciiser4/config.mk index 58574cb042..b044413de3 100644 --- a/board/esd/cpciiser4/config.mk +++ b/board/esd/cpciiser4/config.mk @@ -25,6 +25,6 @@ # esd CPCIISER4 boards # -#TEXT_BASE = 0xFFFE0000 -#TEXT_BASE = 0xFFFD0000 -TEXT_BASE = 0xFFFC0000 +#CONFIG_SYS_TEXT_BASE = 0xFFFE0000 +#CONFIG_SYS_TEXT_BASE = 0xFFFD0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/dasa_sim/config.mk b/board/esd/dasa_sim/config.mk index 4fe3774ffb..67919a90a8 100644 --- a/board/esd/dasa_sim/config.mk +++ b/board/esd/dasa_sim/config.mk @@ -20,7 +20,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 # Use board specific linker script LDSCRIPT := $(SRCTREE)/board/esd/dasa_sim/u-boot.lds diff --git a/board/esd/dp405/config.mk b/board/esd/dp405/config.mk index 9b1a8bebb2..69f2e36774 100644 --- a/board/esd/dp405/config.mk +++ b/board/esd/dp405/config.mk @@ -21,4 +21,4 @@ # MA 02111-1307 USA # -TEXT_BASE = 0xFFFD0000 +CONFIG_SYS_TEXT_BASE = 0xFFFD0000 diff --git a/board/esd/du405/config.mk b/board/esd/du405/config.mk index d091d96ecd..a876bbea96 100644 --- a/board/esd/du405/config.mk +++ b/board/esd/du405/config.mk @@ -25,6 +25,6 @@ # esd CPCIISER4 boards # -#TEXT_BASE = 0xFFFE0000 -TEXT_BASE = 0xFFFD0000 -#TEXT_BASE = 0xFFFC0000 +#CONFIG_SYS_TEXT_BASE = 0xFFFE0000 +CONFIG_SYS_TEXT_BASE = 0xFFFD0000 +#CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/du440/config.mk b/board/esd/du440/config.mk index 91e65ec8a9..2fd5d707f1 100644 --- a/board/esd/du440/config.mk +++ b/board/esd/du440/config.mk @@ -22,8 +22,8 @@ # sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp -ifndef TEXT_BASE -TEXT_BASE = 0xFFFA0000 +ifndef CONFIG_SYS_TEXT_BASE +CONFIG_SYS_TEXT_BASE = 0xFFFA0000 endif PLATFORM_CPPFLAGS += -DCONFIG_440=1 diff --git a/board/esd/hh405/config.mk b/board/esd/hh405/config.mk index 7129ad568b..f26622d720 100644 --- a/board/esd/hh405/config.mk +++ b/board/esd/hh405/config.mk @@ -25,7 +25,7 @@ # esd VOH405 boards # -#TEXT_BASE = 0xFFF00000 -TEXT_BASE = 0xFFF80000 -#TEXT_BASE = 0xFFFC0000 -#TEXT_BASE = 0x00FC0000 +#CONFIG_SYS_TEXT_BASE = 0xFFF00000 +CONFIG_SYS_TEXT_BASE = 0xFFF80000 +#CONFIG_SYS_TEXT_BASE = 0xFFFC0000 +#CONFIG_SYS_TEXT_BASE = 0x00FC0000 diff --git a/board/esd/hub405/config.mk b/board/esd/hub405/config.mk index a6d31aad2b..0fe7793f5b 100644 --- a/board/esd/hub405/config.mk +++ b/board/esd/hub405/config.mk @@ -25,4 +25,4 @@ # esd HUB405 boards # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/mecp5123/config.mk b/board/esd/mecp5123/config.mk index 838a018497..d52b342cd2 100644 --- a/board/esd/mecp5123/config.mk +++ b/board/esd/mecp5123/config.mk @@ -20,4 +20,4 @@ # MA 02111-1307 USA # -TEXT_BASE = 0xFFF00000 +CONFIG_SYS_TEXT_BASE = 0xFFF00000 diff --git a/board/esd/mecp5200/config.mk b/board/esd/mecp5200/config.mk index 170779d6c1..106498d059 100644 --- a/board/esd/mecp5200/config.mk +++ b/board/esd/mecp5200/config.mk @@ -24,7 +24,7 @@ # # IceCube board: # -# Valid values for TEXT_BASE are: +# Valid values for CONFIG_SYS_TEXT_BASE are: # # 0xFFF00000 boot high (standard configuration) # 0xFF000000 boot low for 16 MiB boards @@ -34,11 +34,12 @@ sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp -ifndef TEXT_BASE +ifndef CONFIG_SYS_TEXT_BASE ## Standard: boot high -TEXT_BASE = 0xFFF00000 +CONFIG_SYS_TEXT_BASE = 0xFFF00000 ## For testing: boot from RAM -# TEXT_BASE = 0x00100000 +# CONFIG_SYS_TEXT_BASE = 0x00100000 endif -PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)/board +PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \ + -I$(TOPDIR)/board diff --git a/board/esd/meesc/config.mk b/board/esd/meesc/config.mk index 9ce161e55f..207769233e 100644 --- a/board/esd/meesc/config.mk +++ b/board/esd/meesc/config.mk @@ -1 +1 @@ -TEXT_BASE = 0x21f00000 +CONFIG_SYS_TEXT_BASE = 0x21f00000 diff --git a/board/esd/ocrtc/config.mk b/board/esd/ocrtc/config.mk index f123319943..64671b314e 100644 --- a/board/esd/ocrtc/config.mk +++ b/board/esd/ocrtc/config.mk @@ -25,5 +25,5 @@ # esd ADCIOP boards # -#TEXT_BASE = 0xFFFE0000 -TEXT_BASE = 0xFFFD0000 +#CONFIG_SYS_TEXT_BASE = 0xFFFE0000 +CONFIG_SYS_TEXT_BASE = 0xFFFD0000 diff --git a/board/esd/otc570/config.mk b/board/esd/otc570/config.mk index ff2cfd170b..e554a45007 100644 --- a/board/esd/otc570/config.mk +++ b/board/esd/otc570/config.mk @@ -1 +1 @@ -TEXT_BASE = 0x23f00000 +CONFIG_SYS_TEXT_BASE = 0x23f00000 diff --git a/board/esd/pci405/config.mk b/board/esd/pci405/config.mk index 83f07fe79e..e094e91652 100644 --- a/board/esd/pci405/config.mk +++ b/board/esd/pci405/config.mk @@ -25,5 +25,5 @@ # esd ADCIOP boards # -#TEXT_BASE = 0xFFFE0000 -TEXT_BASE = 0xFFFD0000 +#CONFIG_SYS_TEXT_BASE = 0xFFFE0000 +CONFIG_SYS_TEXT_BASE = 0xFFFD0000 diff --git a/board/esd/pf5200/config.mk b/board/esd/pf5200/config.mk index 170779d6c1..106498d059 100644 --- a/board/esd/pf5200/config.mk +++ b/board/esd/pf5200/config.mk @@ -24,7 +24,7 @@ # # IceCube board: # -# Valid values for TEXT_BASE are: +# Valid values for CONFIG_SYS_TEXT_BASE are: # # 0xFFF00000 boot high (standard configuration) # 0xFF000000 boot low for 16 MiB boards @@ -34,11 +34,12 @@ sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp -ifndef TEXT_BASE +ifndef CONFIG_SYS_TEXT_BASE ## Standard: boot high -TEXT_BASE = 0xFFF00000 +CONFIG_SYS_TEXT_BASE = 0xFFF00000 ## For testing: boot from RAM -# TEXT_BASE = 0x00100000 +# CONFIG_SYS_TEXT_BASE = 0x00100000 endif -PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)/board +PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \ + -I$(TOPDIR)/board diff --git a/board/esd/plu405/config.mk b/board/esd/plu405/config.mk index 0a4dbaa54a..a36dd5d810 100644 --- a/board/esd/plu405/config.mk +++ b/board/esd/plu405/config.mk @@ -25,4 +25,4 @@ # esd PLU405 boards # -TEXT_BASE = 0xFFF80000 +CONFIG_SYS_TEXT_BASE = 0xFFF80000 diff --git a/board/esd/pmc405/config.mk b/board/esd/pmc405/config.mk index 5a3fc4be7b..249353ef7c 100644 --- a/board/esd/pmc405/config.mk +++ b/board/esd/pmc405/config.mk @@ -21,4 +21,4 @@ # MA 02111-1307 USA # -TEXT_BASE = 0xFFF80000 +CONFIG_SYS_TEXT_BASE = 0xFFF80000 diff --git a/board/esd/pmc405de/config.mk b/board/esd/pmc405de/config.mk index ae855dc057..805d67bfe3 100644 --- a/board/esd/pmc405de/config.mk +++ b/board/esd/pmc405de/config.mk @@ -20,4 +20,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 diff --git a/board/esd/pmc440/config.mk b/board/esd/pmc440/config.mk index 6e9f735f42..1c75f0188d 100644 --- a/board/esd/pmc440/config.mk +++ b/board/esd/pmc440/config.mk @@ -22,8 +22,8 @@ # sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp -ifndef TEXT_BASE -TEXT_BASE = 0xFFF90000 +ifndef CONFIG_SYS_TEXT_BASE +CONFIG_SYS_TEXT_BASE = 0xFFF90000 endif PLATFORM_CPPFLAGS += -DCONFIG_440=1 diff --git a/board/esd/tasreg/config.mk b/board/esd/tasreg/config.mk index 69fd8b6b7c..7ee47770b1 100644 --- a/board/esd/tasreg/config.mk +++ b/board/esd/tasreg/config.mk @@ -22,4 +22,4 @@ # MA 02111-1307 USA # -TEXT_BASE = 0xffc00000 +CONFIG_SYS_TEXT_BASE = 0xffc00000 diff --git a/board/esd/vme8349/config.mk b/board/esd/vme8349/config.mk index 1ae26caadf..512b82e9cc 100644 --- a/board/esd/vme8349/config.mk +++ b/board/esd/vme8349/config.mk @@ -25,4 +25,4 @@ # VME8349E # -TEXT_BASE = 0xFFF00000 +CONFIG_SYS_TEXT_BASE = 0xFFF00000 diff --git a/board/esd/voh405/config.mk b/board/esd/voh405/config.mk index 219a4eba15..ae2c07709c 100644 --- a/board/esd/voh405/config.mk +++ b/board/esd/voh405/config.mk @@ -25,4 +25,4 @@ # esd VOH405 boards # -TEXT_BASE = 0xFFF80000 +CONFIG_SYS_TEXT_BASE = 0xFFF80000 diff --git a/board/esd/vom405/config.mk b/board/esd/vom405/config.mk index 8e48bcd6cb..cdc2eafe3d 100644 --- a/board/esd/vom405/config.mk +++ b/board/esd/vom405/config.mk @@ -20,4 +20,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # -TEXT_BASE = 0xFFFC8000 +CONFIG_SYS_TEXT_BASE = 0xFFFC8000 diff --git a/board/esd/wuh405/config.mk b/board/esd/wuh405/config.mk index 1d743a9f87..40e83089d6 100644 --- a/board/esd/wuh405/config.mk +++ b/board/esd/wuh405/config.mk @@ -25,4 +25,4 @@ # esd ASH405 boards # -TEXT_BASE = 0xFFFC0000 +CONFIG_SYS_TEXT_BASE = 0xFFFC0000 -- cgit