mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
6f6b7cfa89
This converts the following to Kconfig: CONFIG_CONS_INDEX We have existing entries for this option in a number of places, with different guards on them. They're also sometimes used for things not directly inside of the serial driver. First, introduce a new symbol to guard the use of CONFIG_CONS_INDEX, so that in the case where we don't need this for the serial driver, but for some other use, we can still do it. Next, consolidate all of these into the single entry in drivers/serial/Kconfig. Finally, introduce CONS_INDEX_[023456] so that we can imply a correct value here to make the defconfig side of this smaller. Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Rework a lot of the logic here, such that I took authorship from Adam, but kept his S-o-B line] Signed-off-by: Tom Rini <trini@konsulko.com>
66 lines
1.7 KiB
Text
66 lines
1.7 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_TARGET_OMAP3_LOGIC=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="logicpd-torpedo-37xx-devkit"
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
# CONFIG_USE_BOOTCOMMAND is not set
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SYS_PROMPT="OMAP Logic # "
|
|
CONFIG_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x82000000
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_NAND_OFS=0x240000
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
|
# CONFIG_CMD_EEPROM is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(MLO),1792k(u-boot),128k(spl-os),128k(u-boot-env),6m(kernel),-(fs)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_SPL_OF_PLATDATA=y
|
|
# CONFIG_ENV_IS_IN_FAT is not set
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
# CONFIG_BLK is not set
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_MMC_OMAP36XX_PINS=y
|
|
CONFIG_NAND=y
|
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
|
|
CONFIG_SPL_NAND_SIMPLE=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_SMC911X=y
|
|
CONFIG_SMC911X_BASE=0x08000000
|
|
CONFIG_SMC911X_32_BIT=y
|
|
CONFIG_CONS_INDEX=3
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_OMAP3_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OMAP3=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_MUSB_OMAP2PLUS=y
|
|
CONFIG_TWL4030_USB=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="TI"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
|
|
CONFIG_USB_ETHER=y
|
|
CONFIG_BCH=y
|
|
# CONFIG_SPL_OF_LIBFDT is not set
|