mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 22:24:30 +08:00
5db5b7e2a3
Boards which have for example MAC address in eeprom but not in Xilinx format (legacy or FRU) could reference it via nvmem cells. For example: &gem0 { nvmem-cells = <&mac>; nvmem-cell-names = "mac-address"; }; &eeprom { #address-cells = <1>; #size-cells = <1>; mac: mac-address@f0 { reg = <0xf0 6>; }; }; For getting it work above DT changes are required but also CONFIG_NVMEM should be enabled. That's why enable it by default in generic defconfigs to be able to use it directly by changing DT only. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/9c8ee7a4c7a16367438a92a4c9581bac9d968f84.1712815454.git.michal.simek@amd.com
159 lines
4.1 KiB
Plaintext
159 lines
4.1 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SPL_SYS_DCACHE_OFF=y
|
|
CONFIG_SYS_L2CACHE_OFF=y
|
|
CONFIG_ARCH_ZYNQ=y
|
|
CONFIG_TEXT_BASE=0x4000000
|
|
CONFIG_SF_DEFAULT_SPEED=30000000
|
|
CONFIG_ENV_OFFSET=0xE00000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="zynq-zc706"
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
CONFIG_SPL_STACK_R_ADDR=0x200000
|
|
CONFIG_SPL_STACK=0xfffffe00
|
|
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
|
CONFIG_SPL_BSS_START_ADDR=0x100000
|
|
CONFIG_SPL_BSS_MAX_SIZE=0x100000
|
|
CONFIG_SPL_STACK_R=y
|
|
CONFIG_SPL=y
|
|
CONFIG_ENV_OFFSET_REDUND=0xE40000
|
|
CONFIG_CMD_FRU=y
|
|
CONFIG_CMD_ZYNQ_AES=y
|
|
CONFIG_SYS_LOAD_ADDR=0x0
|
|
CONFIG_SYS_MEMTEST_START=0x00000000
|
|
CONFIG_SYS_MEMTEST_END=0x00001000
|
|
CONFIG_REMAKE_ELF=y
|
|
CONFIG_SYS_CUSTOM_LDSCRIPT=y
|
|
CONFIG_SYS_LDSCRIPT="arch/arm/mach-zynq/u-boot.lds"
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_SIGNATURE=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONFIG_SPL_FIT_PRINT=y
|
|
CONFIG_SPL_LOAD_FIT=y
|
|
CONFIG_SPL_LOAD_FIT_ADDRESS=0x10000000
|
|
CONFIG_LEGACY_IMAGE_FORMAT=y
|
|
CONFIG_SYS_BOOTM_LEN=0x3c00000
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_SYS_PBSIZE=2071
|
|
CONFIG_CLOCKS=y
|
|
CONFIG_SPL_MAX_SIZE=0x30000
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SPL_SYS_MALLOC=y
|
|
CONFIG_SPL_SYS_MALLOC_SIZE=0x2000000
|
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
|
CONFIG_SPL_FS_LOAD_ARGS_NAME="system.dtb"
|
|
CONFIG_SPL_FPGA=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x10000000
|
|
CONFIG_SPL_SPI_LOAD=y
|
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x100000
|
|
CONFIG_SYS_MAXARGS=32
|
|
# CONFIG_BOOTM_NETBSD is not set
|
|
CONFIG_CMD_IMLS=y
|
|
CONFIG_CMD_THOR_DOWNLOAD=y
|
|
CONFIG_THOR_RESET_OFF=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_SYS_ALT_MEMTEST=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_FPGA_LOADBP=y
|
|
CONFIG_CMD_FPGA_LOADFS=y
|
|
CONFIG_CMD_FPGA_LOADMK=y
|
|
CONFIG_CMD_FPGA_LOADP=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
|
CONFIG_CMD_SF_TEST=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_BOOTP_MAY_FAIL=y
|
|
CONFIG_CMD_TFTPPUT=y
|
|
CONFIG_CMD_NFS=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EFIDEBUG=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_TIMER=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_SQUASHFS=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_MTDPARTS_SPREAD=y
|
|
CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_BOARD=y
|
|
CONFIG_OF_LIST="zynq-zc702 zynq-zc706 zynq-zc770-xm010 zynq-zc770-xm011 zynq-zc770-xm011-x16 zynq-zc770-xm012 zynq-zc770-xm013 zynq-cc108 zynq-microzed zynq-minized zynq-picozed zynq-zed zynq-zturn zynq-zturn-v5 zynq-zybo zynq-zybo-z7 zynq-dlc20-rev1.0"
|
|
CONFIG_ENV_IS_NOWHERE=y
|
|
CONFIG_ENV_IS_IN_FAT=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_NETCONSOLE=y
|
|
CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
|
CONFIG_DFU_TIMEOUT=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_DFU_SF=y
|
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x600000
|
|
CONFIG_FPGA_XILINX=y
|
|
CONFIG_FPGA_ZYNQPL=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_CADENCE=y
|
|
CONFIG_I2C_MUX=y
|
|
CONFIG_I2C_MUX_PCA954x=y
|
|
CONFIG_LED=y
|
|
CONFIG_LED_GPIO=y
|
|
CONFIG_MISC=y
|
|
CONFIG_NVMEM=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_ZYNQ=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_FLASH_SHOW_PROGRESS=10
|
|
CONFIG_CFI_FLASH=y
|
|
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
|
CONFIG_SYS_FLASH_CFI=y
|
|
CONFIG_SYS_FLASH_QUIET_TEST=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_NAND_ZYNQ=y
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_SPI_FLASH_GIGADEVICE=y
|
|
CONFIG_SPI_FLASH_ISSI=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_SST=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_PHY_MARVELL=y
|
|
CONFIG_PHY_MICREL=y
|
|
CONFIG_PHY_MICREL_KSZ90X1=y
|
|
CONFIG_PHY_REALTEK=y
|
|
CONFIG_PHY_XILINX=y
|
|
CONFIG_DM_ETH_PHY=y
|
|
CONFIG_MII=y
|
|
CONFIG_ZYNQ_GEM=y
|
|
CONFIG_ARM_DCC=y
|
|
CONFIG_ZYNQ_SERIAL=y
|
|
CONFIG_ZYNQ_SPI=y
|
|
CONFIG_ZYNQ_QSPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_ULPI_VIEWPORT=y
|
|
CONFIG_USB_ULPI=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Xilinx"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x03fd
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_SYS_TIMER_COUNTS_DOWN=y
|
|
CONFIG_SPL_GZIP=y
|
|
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
|
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
|
CONFIG_TOOLS_MKEFICAPSULE=y
|