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:
committed by
Daniel Schwierzeck
parent
6242aa1374
commit
ec35e12331
@@ -9,6 +9,9 @@ config SYS_SOC
|
||||
config SYS_CONFIG_NAME
|
||||
default "dbau1x00"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0xbfc00000
|
||||
|
||||
menu "dbau1x00 board options"
|
||||
|
||||
choice
|
||||
|
||||
@@ -9,4 +9,7 @@ config SYS_VENDOR
|
||||
config SYS_CONFIG_NAME
|
||||
default "malta"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0xbe000000
|
||||
|
||||
endif
|
||||
|
||||
@@ -10,4 +10,7 @@ config SYS_VENDOR
|
||||
config SYS_CONFIG_NAME
|
||||
default "pic32mzdask"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0x9d004000
|
||||
|
||||
endif
|
||||
|
||||
@@ -9,6 +9,9 @@ config SYS_VENDOR
|
||||
config SYS_CONFIG_NAME
|
||||
default "vct"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0x87000000
|
||||
|
||||
menu "vct board options"
|
||||
|
||||
choice
|
||||
|
||||
@@ -9,4 +9,7 @@ config SYS_SOC
|
||||
config SYS_CONFIG_NAME
|
||||
default "pb1x00"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0x83800000
|
||||
|
||||
endif
|
||||
|
||||
@@ -9,4 +9,7 @@ config SYS_BOARD
|
||||
config SYS_CONFIG_NAME
|
||||
default "ap121"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0x9f000000
|
||||
|
||||
endif
|
||||
|
||||
@@ -9,4 +9,7 @@ config SYS_BOARD
|
||||
config SYS_CONFIG_NAME
|
||||
default "ap143"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0x9f000000
|
||||
|
||||
endif
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,4 +12,7 @@ config SYS_BOARD
|
||||
config SYS_CONFIG_NAME
|
||||
default "tplink_wdr4300"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0xa1000000
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user