mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
b1de4d7c6e
All Nvidia boards use the same manufacturer, vendor ID and product ID
for the gadgets. Make them the defaults to remove some boilerplate from
the defconfigs.
Inspired by commit e02687bda9
("sunxi: provide default USB gadget
setup") which did the same for Allwinner boards.
Tested-by: Thierry Reding <treding@nvidia.com> # T30 and T124
Signed-off-by: Maxim Schwalm <maxim.schwalm@gmail.com>
Signed-off-by: Tom <twarren@nvidia.com>
69 lines
1.7 KiB
Plaintext
69 lines
1.7 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SYS_HAS_NONCACHED_MEMORY=y
|
|
CONFIG_SYS_L2CACHE_OFF=y
|
|
CONFIG_ARCH_TEGRA=y
|
|
CONFIG_TEXT_BASE=0x80110000
|
|
CONFIG_SYS_MALLOC_LEN=0x2500000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xFFFFE000
|
|
CONFIG_DEFAULT_DEVICE_TREE="tegra30-beaver"
|
|
CONFIG_SPL_TEXT_BASE=0x80108000
|
|
CONFIG_SYS_PROMPT="Tegra30 (Beaver) # "
|
|
CONFIG_SPL_STACK=0x800ffffc
|
|
CONFIG_TEGRA30=y
|
|
CONFIG_TARGET_BEAVER=y
|
|
CONFIG_SYS_LOAD_ADDR=0x81000000
|
|
CONFIG_OF_SYSTEM_SETUP=y
|
|
CONFIG_CONSOLE_MUX=y
|
|
CONFIG_SYS_STDIO_DEREGISTER=y
|
|
CONFIG_SPL_FOOTPRINT_LIMIT=y
|
|
CONFIG_SPL_MAX_FOOTPRINT=0x8000
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
|
|
CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000
|
|
CONFIG_SYS_SPL_MALLOC_SIZE=0x10000
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_SYS_PBSIZE=2084
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PCI=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
CONFIG_OF_LIVE=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SYS_MMC_ENV_PART=2
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_DFU_SF=y
|
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
|
|
CONFIG_SYS_DFU_MAX_FILE_SIZE=0x2000000
|
|
CONFIG_SYS_I2C_TEGRA=y
|
|
CONFIG_SF_DEFAULT_SPEED=24000000
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_RTL8169=y
|
|
CONFIG_PCI=y
|
|
CONFIG_PCI_TEGRA=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_TEGRA20_SLINK=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_TEGRA=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|