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/manroland/hmi1001/config.mk | 11 ++++++----- board/manroland/mucmc52/config.mk | 11 ++++++----- board/manroland/uc100/config.mk | 4 ++-- board/manroland/uc101/config.mk | 11 ++++++----- 4 files changed, 20 insertions(+), 17 deletions(-) (limited to 'board/manroland') diff --git a/board/manroland/hmi1001/config.mk b/board/manroland/hmi1001/config.mk index 8ccf33e..b5a7125 100644 --- a/board/manroland/hmi1001/config.mk +++ b/board/manroland/hmi1001/config.mk @@ -24,19 +24,20 @@ # # INKA 4X0 board: # -# Valid values for TEXT_BASE are: +# Valid values for CONFIG_SYS_TEXT_BASE are: # # 0xFFE00000 boot high # # 0x00100000 boot from RAM (for testing only) # -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 LDSCRIPT := $(SRCTREE)/arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds diff --git a/board/manroland/mucmc52/config.mk b/board/manroland/mucmc52/config.mk index 6850728..cb2218f 100644 --- a/board/manroland/mucmc52/config.mk +++ b/board/manroland/mucmc52/config.mk @@ -27,19 +27,20 @@ # # MUCMC52 board: # -# Valid values for TEXT_BASE are: +# Valid values for CONFIG_SYS_TEXT_BASE are: # # 0xFFE00000 boot high # # 0x00100000 boot from RAM (for testing only) # -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 LDSCRIPT := $(SRCTREE)/arch/powerpc/cpu/mpc5xxx/u-boot.lds diff --git a/board/manroland/uc100/config.mk b/board/manroland/uc100/config.mk index a65a8ba..4308eed 100644 --- a/board/manroland/uc100/config.mk +++ b/board/manroland/uc100/config.mk @@ -25,5 +25,5 @@ # UC100 boards # -#TEXT_BASE = 0x40000000 -TEXT_BASE = 0x40700000 +#CONFIG_SYS_TEXT_BASE = 0x40000000 +CONFIG_SYS_TEXT_BASE = 0x40700000 diff --git a/board/manroland/uc101/config.mk b/board/manroland/uc101/config.mk index 8ccf33e..b5a7125 100644 --- a/board/manroland/uc101/config.mk +++ b/board/manroland/uc101/config.mk @@ -24,19 +24,20 @@ # # INKA 4X0 board: # -# Valid values for TEXT_BASE are: +# Valid values for CONFIG_SYS_TEXT_BASE are: # # 0xFFE00000 boot high # # 0x00100000 boot from RAM (for testing only) # -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 LDSCRIPT := $(SRCTREE)/arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds -- cgit v1.1