In commit commit 37304aaf60
("Convert CONFIG_USE_PREBOOT and
CONFIG_PREBOOT to Kconfig") was moved complicated multiline script code
from C header to oneliner in defconfig. After this change multiline to wide
oneliner it is hard to read this code and even harder to debug. Moreover
this script code should be at place where are other scripts, so move it
back to C header file.
Define new env variable preboot which stores this script and in option
CONFIG_PREBOOT calls this preboot variable.
Signed-off-by: Pali Rohár <pali@kernel.org>
42 lines
964 B
Plaintext
42 lines
964 B
Plaintext
CONFIG_ARM=y
|
|
# CONFIG_SYS_THUMB_BUILD is not set
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_SYS_TEXT_BASE=0x80008000
|
|
CONFIG_TARGET_NOKIA_RX51=y
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_BOOTDELAY=30
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_PREBOOT="run preboot"
|
|
# CONFIG_CONSOLE_MUX is not set
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="Nokia RX-51 # "
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_MENU_SHOW=y
|
|
CONFIG_CMD_BOOTMENU=y
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_SAVEENV is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
# CONFIG_NET is not set
|
|
CONFIG_TWL4030_LED=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_CONS_INDEX=3
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_OMAP3_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_MUSB_HCD=y
|
|
CONFIG_USB_MUSB_UDC=y
|
|
CONFIG_USB_OMAP3=y
|
|
CONFIG_TWL4030_USB=y
|
|
CONFIG_VIDEO=y
|
|
CONFIG_CFB_CONSOLE_ANSI=y
|
|
# CONFIG_VGA_AS_SINGLE_DEVICE is not set
|