With multiboard support the compiletime generated BOARDINFO string gets more and more meaningless. This removes it from Kconfig and replaces it with a variable that can be set at boardlevel. Also many boards have a standard setting for the hostname in the environment. This patch also moves the standard to C code by calling barebox_set_hostname(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
35 lines
525 B
Text
35 lines
525 B
Text
if ARCH_NETX
|
|
|
|
config ARCH_TEXT_BASE
|
|
hex
|
|
default 0x81f00000 if MACH_NXDB500
|
|
|
|
config NETX_SDRAM_CTRL
|
|
hex
|
|
default 0x010D0121 if MACH_NXDB500
|
|
|
|
config NETX_SDRAM_TIMING_CTRL
|
|
hex
|
|
default 0x03C13261 if MACH_NXDB500
|
|
|
|
config NETX_MEM_CTRL
|
|
hex
|
|
default 0x0203030F if MACH_NXDB500
|
|
|
|
config NETX_COOKIE
|
|
hex
|
|
default 32 if MACH_NXDB500
|
|
|
|
choice
|
|
prompt "Netx Board Type"
|
|
|
|
config MACH_NXDB500
|
|
bool "Hilscher Netx nxdb500"
|
|
select HAS_NETX_ETHER
|
|
help
|
|
Say Y here if you are using the Hilscher Netx nxdb500 board
|
|
|
|
endchoice
|
|
|
|
endif
|