mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +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>
106 lines
2.5 KiB
Text
106 lines
2.5 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_L2CACHE_OFF=y
|
|
CONFIG_ARCH_TEGRA=y
|
|
CONFIG_TEXT_BASE=0x81000100
|
|
CONFIG_SYS_MALLOC_LEN=0x2500000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xFFFFE000
|
|
CONFIG_DEFAULT_DEVICE_TREE="tegra124-nyan-big"
|
|
CONFIG_SPL_TEXT_BASE=0x80108000
|
|
CONFIG_SYS_PROMPT="Tegra124 (Nyan-big) # "
|
|
CONFIG_SPL_STACK=0x800ffffc
|
|
CONFIG_BOOTSTAGE_STASH_ADDR=0x83000000
|
|
CONFIG_DEBUG_UART_BASE=0x70006000
|
|
CONFIG_DEBUG_UART_CLOCK=408000000
|
|
CONFIG_TEGRA124=y
|
|
CONFIG_TARGET_NYAN_BIG=y
|
|
CONFIG_TEGRA_GPU=y
|
|
CONFIG_SYS_LOAD_ADDR=0x82408000
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_BEST_MATCH=y
|
|
CONFIG_OF_SYSTEM_SETUP=y
|
|
CONFIG_BOOTSTAGE=y
|
|
CONFIG_SPL_BOOTSTAGE=y
|
|
CONFIG_BOOTSTAGE_STASH=y
|
|
CONFIG_SYS_STDIO_DEREGISTER=y
|
|
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|
CONFIG_SPL_FOOTPRINT_LIMIT=y
|
|
CONFIG_SPL_MAX_FOOTPRINT=0xef8100
|
|
# 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=2087
|
|
# 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_CMD_NFS is not set
|
|
CONFIG_CMD_BMP=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_SOUND=y
|
|
CONFIG_CMD_BOOTSTAGE=y
|
|
CONFIG_CMD_PMIC=y
|
|
CONFIG_CMD_REGULATOR=y
|
|
CONFIG_CMD_TPM=y
|
|
CONFIG_CMD_TPM_TEST=y
|
|
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_CROS_EC_KEYB=y
|
|
CONFIG_CROS_EC=y
|
|
CONFIG_CROS_EC_SPI=y
|
|
CONFIG_SF_DEFAULT_SPEED=24000000
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_DM_PMIC=y
|
|
CONFIG_PMIC_AS3722=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_REGULATOR_AS3722=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_PWM_TEGRA=y
|
|
CONFIG_DEBUG_UART_SHIFT=2
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_I2S=y
|
|
CONFIG_I2S_TEGRA=y
|
|
CONFIG_SOUND_MAX98090=y
|
|
CONFIG_TEGRA114_SPI=y
|
|
CONFIG_TPM_TIS_INFINEON=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
|
|
CONFIG_VIDEO=y
|
|
# CONFIG_VIDEO_BPP8 is not set
|
|
# CONFIG_VIDEO_BPP32 is not set
|
|
CONFIG_DISPLAY=y
|
|
CONFIG_VIDEO_TEGRA124=y
|
|
CONFIG_VIDEO_BRIDGE=y
|
|
CONFIG_CMD_DHRYSTONE=y
|
|
CONFIG_TPM=y
|
|
CONFIG_ERRNO_STR=y
|