mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
a09fea1d28
- In ARMv8 NXP Layerscape platforms we also need to make use of CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so. - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define to 0. - Add Kconfig entry for ENV_ADDR. - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it. - Add ENV_xxx_REDUND options that depend on their primary option and SYS_REDUNDAND_ENVIRONMENT - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR for the pre-main-U-Boot environment location. - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but rather it being non-zero, as it will now be zero by default. - Rework the env_offset absolute in env/embedded.o to not use CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within ENV_IS_IN_FLASH. - Migrate all platforms. Cc: Wolfgang Denk <wd@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: uboot-stm32@st-md-mailman.stormreply.com Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
82 lines
2 KiB
Text
82 lines
2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_DCACHE_OFF=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_KEYSTONE=y
|
|
CONFIG_ISW_ENTRY_ADDR=0xC0A0000
|
|
CONFIG_SYS_TEXT_BASE=0xC000000
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_TARGET_K2G_EVM=y
|
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
|
CONFIG_ENV_SIZE=0x40000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_SPI_FLASH_SUPPORT=y
|
|
CONFIG_SPL_SPI_SUPPORT=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
# CONFIG_USE_BOOTCOMMAND is not set
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_SPL_POWER_SUPPORT=y
|
|
CONFIG_SPL_SPI_LOAD=y
|
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x10000
|
|
CONFIG_MX_CYCLIC=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_GPIO is not set
|
|
# CONFIG_CMD_GPT is not set
|
|
CONFIG_CMD_REMOTEPROC=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_MTDIDS_DEFAULT="nand0=davinci_nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="keystone-k2g-evm"
|
|
CONFIG_OF_LIST="keystone-k2g-generic keystone-k2g-evm keystone-k2g-ice"
|
|
CONFIG_DTB_RESELECT=y
|
|
CONFIG_MULTI_DTB_FIT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_DM=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_SYS_I2C_DAVINCI=y
|
|
CONFIG_MISC=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_NAND=y
|
|
CONFIG_SYS_NAND_USE_FLASH_BBT=y
|
|
CONFIG_NAND_DAVINCI=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SF_DEFAULT_BUS=1
|
|
CONFIG_SF_DEFAULT_SPEED=30000000
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_PHY_MARVELL=y
|
|
CONFIG_PHY_MICREL=y
|
|
CONFIG_PHY_MICREL_KSZ8XXX=y
|
|
CONFIG_PHY_TI=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_MII=y
|
|
CONFIG_DRIVER_TI_KEYSTONE_NET=y
|
|
CONFIG_PHY=y
|
|
CONFIG_NOP_PHY=y
|
|
CONFIG_KEYSTONE_USB_PHY=y
|
|
CONFIG_REMOTEPROC_TI_POWER=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_DAVINCI_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB=y
|
|
CONFIG_DM_USB_GADGET=y
|
|
CONFIG_USB_XHCI_HCD=y
|
|
CONFIG_USB_DWC3=y
|
|
CONFIG_USB_DWC3_GENERIC=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_FUNCTION_SDP=y
|