mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00: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>
52 lines
1.3 KiB
Text
52 lines
1.3 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_L2CACHE_OFF=y
|
|
CONFIG_ARCH_TEGRA=y
|
|
CONFIG_TEXT_BASE=0x80080000
|
|
CONFIG_SYS_MALLOC_LEN=0x2500000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xFFFFE000
|
|
CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2371-0000"
|
|
CONFIG_SYS_PROMPT="Tegra210 (P2371-0000) # "
|
|
CONFIG_TEGRA210=y
|
|
CONFIG_TEGRA_GPU=y
|
|
CONFIG_SYS_LOAD_ADDR=0x80080000
|
|
CONFIG_OF_SYSTEM_SETUP=y
|
|
CONFIG_CONSOLE_MUX=y
|
|
CONFIG_SYS_STDIO_DEREGISTER=y
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_SYS_PBSIZE=2089
|
|
CONFIG_SYS_BOOTM_LEN=0x800000
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_PREFER_SERVERIP=y
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SYS_MMC_ENV_PART=2
|
|
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_SYS_NS16550=y
|
|
CONFIG_TEGRA114_SPI=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
|