mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 06:42:56 +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>
57 lines
1.6 KiB
Text
57 lines
1.6 KiB
Text
CONFIG_ARM=y
|
|
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMSET is not set
|
|
CONFIG_ARCH_AT91=y
|
|
CONFIG_SYS_TEXT_BASE=0x72000000
|
|
CONFIG_TARGET_CORVUS=y
|
|
CONFIG_SPL_GPIO_SUPPORT=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x800
|
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="at91sam9g45-corvus"
|
|
CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9M10G45,MACH_TYPE=2066,SYS_USE_NANDFLASH"
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) root=/dev/mtdblock7 rw rootfstype=jffs2"
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_SPL=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="U-Boot> "
|
|
# CONFIG_CMD_BDI is not set
|
|
CONFIG_CMD_BOOTZ=y
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_SOURCE is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_EMBED=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_BOOTP_BOOTPATH=y
|
|
CONFIG_BOOTP_GATEWAY=y
|
|
CONFIG_BOOTP_HOSTNAME=y
|
|
CONFIG_CLK=y
|
|
CONFIG_CLK_AT91=y
|
|
CONFIG_DFU_NAND=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_ATMEL_USART=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
|
|
CONFIG_USB_GADGET_ATMEL_USBA=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
# CONFIG_EFI_LOADER is not set
|