MIPS: Move CONFIG_SYS_TEXT_BASE to Kconfig

Move CONFIG_SYS_TEXT_BASE to Kconfig, and add default values in board
Kconfig files matching what was present in their config headers. This
will make it cleaner to conditionalise the value for Malta based on 32
vs 64 bit builds.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
This commit is contained in:
Paul Burton
2016-05-17 11:56:39 +01:00
committed by Daniel Schwierzeck
parent 6242aa1374
commit ec35e12331
20 changed files with 29 additions and 24 deletions

View File

@@ -9,6 +9,9 @@ config SYS_SOC
config SYS_CONFIG_NAME
default "dbau1x00"
config SYS_TEXT_BASE
default 0xbfc00000
menu "dbau1x00 board options"
choice

View File

@@ -9,4 +9,7 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "malta"
config SYS_TEXT_BASE
default 0xbe000000
endif

View File

@@ -10,4 +10,7 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "pic32mzdask"
config SYS_TEXT_BASE
default 0x9d004000
endif

View File

@@ -9,6 +9,9 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "vct"
config SYS_TEXT_BASE
default 0x87000000
menu "vct board options"
choice

View File

@@ -9,4 +9,7 @@ config SYS_SOC
config SYS_CONFIG_NAME
default "pb1x00"
config SYS_TEXT_BASE
default 0x83800000
endif

View File

@@ -9,4 +9,7 @@ config SYS_BOARD
config SYS_CONFIG_NAME
default "ap121"
config SYS_TEXT_BASE
default 0x9f000000
endif

View File

@@ -9,4 +9,7 @@ config SYS_BOARD
config SYS_CONFIG_NAME
default "ap143"
config SYS_TEXT_BASE
default 0x9f000000
endif

View File

@@ -7,4 +7,8 @@ config SYS_CONFIG_NAME
default "qemu-mips" if 32BIT
default "qemu-mips64" if 64BIT
config SYS_TEXT_BASE
default 0xbfc00000 if 32BIT
default 0xffffffffbfc00000 if 64BIT
endif

View File

@@ -12,4 +12,7 @@ config SYS_BOARD
config SYS_CONFIG_NAME
default "tplink_wdr4300"
config SYS_TEXT_BASE
default 0xa1000000
endif