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>
74 lines
1.4 KiB
Text
74 lines
1.4 KiB
Text
|
|
config BLACKFIN
|
|
bool
|
|
select HAS_KALLSYMS
|
|
select HAS_MODULES
|
|
select HAVE_CONFIGURABLE_MEMORY_LAYOUT
|
|
select HAVE_CONFIGURABLE_TEXT_BASE
|
|
default y
|
|
|
|
config BF561
|
|
bool
|
|
|
|
config ARCH_TEXT_BASE
|
|
hex
|
|
default 0x00000000
|
|
default 0x03f00000 if MACH_IPE337
|
|
|
|
choice
|
|
prompt "Select your board"
|
|
|
|
config MACH_IPE337
|
|
bool "PII ipe337"
|
|
select BF561
|
|
help
|
|
Say Y here if you are using the PII IPE337 board
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Select your board options"
|
|
depends on MACH_IPE337
|
|
default MACH_IPE337_V2
|
|
|
|
config MACH_IPE337_V1
|
|
bool "revision 1 (25MHz)"
|
|
help
|
|
Say Y here if you are using the first revision of the PII IPE337 board (Crystal running at 25Mhz)
|
|
|
|
config MACH_IPE337_V2
|
|
bool "revision 2 (40MHz)"
|
|
help
|
|
Say Y here if you are using the second revision of the PII IPE337 board (Crystal running at 40Mhz)
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Boot Mode"
|
|
default BFIN_BOOT_FLASH16
|
|
|
|
config BFIN_BOOT_BYPASS
|
|
bool "bypass"
|
|
help
|
|
blackfin is strapped to boot from parallel flash on CS0
|
|
|
|
config BFIN_BOOT_FLASH8
|
|
bool "flash 8 bit"
|
|
help
|
|
blackfin is strapped to boot from 8bit wide flash via boot ROM
|
|
|
|
config BFIN_BOOT_FLASH16
|
|
bool "flash 16 bit"
|
|
help
|
|
blackfin is strapped to boot from 16bit wide flash via boot ROM
|
|
|
|
endchoice
|
|
|
|
source common/Kconfig
|
|
source commands/Kconfig
|
|
source net/Kconfig
|
|
source drivers/Kconfig
|
|
source fs/Kconfig
|
|
source lib/Kconfig
|
|
source crypto/Kconfig
|