Xilinx changes for v2021.04-v2
env: - Unlock redundant variable configuration for all xilinx: - Enable seps525 by default - Export bootseq via variable - Update board_fdt_blob_setup() mmc: - Xenon macro removal -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCYAgO0AAKCRDKSWXLKUoM IZv4AJ4kS+709sP/kWMbB2quxxwTkviOmACgmaUcq/05t4+oRYbejUIypaII7jw= =1k4/ -----END PGP SIGNATURE----- Merge tag 'xilinx-for-v2021.04-v2' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze Xilinx changes for v2021.04-v2 env: - Unlock redundant variable configuration for all xilinx: - Enable seps525 by default - Export bootseq via variable - Update board_fdt_blob_setup() mmc: - Xenon macro removal
This commit is contained in:
commit
63f2607bc8
@ -324,25 +324,30 @@ void *board_fdt_blob_setup(void)
|
||||
{
|
||||
void *fdt_blob;
|
||||
|
||||
#if !defined(CONFIG_VERSAL_NO_DDR) && !defined(CONFIG_ZYNQMP_NO_DDR)
|
||||
fdt_blob = (void *)CONFIG_XILINX_OF_BOARD_DTB_ADDR;
|
||||
if (!IS_ENABLED(CONFIG_SPL_BUILD) &&
|
||||
!IS_ENABLED(CONFIG_VERSAL_NO_DDR) &&
|
||||
!IS_ENABLED(CONFIG_VERSAL_NO_DDR)) {
|
||||
fdt_blob = (void *)CONFIG_XILINX_OF_BOARD_DTB_ADDR;
|
||||
|
||||
if (fdt_magic(fdt_blob) == FDT_MAGIC)
|
||||
return fdt_blob;
|
||||
if (fdt_magic(fdt_blob) == FDT_MAGIC)
|
||||
return fdt_blob;
|
||||
|
||||
debug("DTB is not passed via %p\n", fdt_blob);
|
||||
#endif
|
||||
debug("DTB is not passed via %p\n", fdt_blob);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
/* FDT is at end of BSS unless it is in a different memory region */
|
||||
if (IS_ENABLED(CONFIG_SPL_SEPARATE_BSS))
|
||||
fdt_blob = (ulong *)&_image_binary_end;
|
||||
else
|
||||
fdt_blob = (ulong *)&__bss_end;
|
||||
#else
|
||||
/* FDT is at end of image */
|
||||
fdt_blob = (ulong *)&_end;
|
||||
#endif
|
||||
if (IS_ENABLED(CONFIG_SPL_BUILD)) {
|
||||
/*
|
||||
* FDT is at end of BSS unless it is in a different memory
|
||||
* region
|
||||
*/
|
||||
if (IS_ENABLED(CONFIG_SPL_SEPARATE_BSS))
|
||||
fdt_blob = (ulong *)&_image_binary_end;
|
||||
else
|
||||
fdt_blob = (ulong *)&__bss_end;
|
||||
} else {
|
||||
/* FDT is at end of image */
|
||||
fdt_blob = (ulong *)&_end;
|
||||
}
|
||||
|
||||
if (fdt_magic(fdt_blob) == FDT_MAGIC)
|
||||
return fdt_blob;
|
||||
|
@ -648,6 +648,7 @@ int board_late_init(void)
|
||||
if (bootseq >= 0) {
|
||||
bootseq_len = snprintf(NULL, 0, "%i", bootseq);
|
||||
debug("Bootseq len: %x\n", bootseq_len);
|
||||
env_set_hex("bootseq", bootseq);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -54,6 +54,7 @@ CONFIG_CMD_SPI=y
|
||||
CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_USB_MASS_STORAGE=y
|
||||
CONFIG_CMD_TFTPPUT=y
|
||||
CONFIG_CMD_BMP=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_TIME=y
|
||||
CONFIG_CMD_TIMER=y
|
||||
@ -155,6 +156,15 @@ CONFIG_USB_ETHER=y
|
||||
CONFIG_USB_ETH_CDC=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_COPY=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_SEPS525=y
|
||||
CONFIG_LCD=y
|
||||
CONFIG_SPLASH_SCREEN=y
|
||||
CONFIG_BMP_16BPP=y
|
||||
CONFIG_BMP_24BPP=y
|
||||
CONFIG_BMP_32BPP=y
|
||||
CONFIG_WDT=y
|
||||
CONFIG_WDT_CDNS=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
@ -104,18 +104,6 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
/* Hyperion only have one slot 0 */
|
||||
#define XENON_MMC_SLOT_ID_HYPERION 0
|
||||
|
||||
#define MMC_TIMING_LEGACY 0
|
||||
#define MMC_TIMING_MMC_HS 1
|
||||
#define MMC_TIMING_SD_HS 2
|
||||
#define MMC_TIMING_UHS_SDR12 3
|
||||
#define MMC_TIMING_UHS_SDR25 4
|
||||
#define MMC_TIMING_UHS_SDR50 5
|
||||
#define MMC_TIMING_UHS_SDR104 6
|
||||
#define MMC_TIMING_UHS_DDR50 7
|
||||
#define MMC_TIMING_MMC_DDR52 8
|
||||
#define MMC_TIMING_MMC_HS200 9
|
||||
#define MMC_TIMING_MMC_HS400 10
|
||||
|
||||
#define XENON_MMC_MAX_CLK 400000000
|
||||
#define XENON_MMC_3V3_UV 3300000
|
||||
#define XENON_MMC_1V8_UV 1800000
|
||||
|
5
env/Kconfig
vendored
5
env/Kconfig
vendored
@ -411,13 +411,14 @@ config ENV_IS_IN_UBI
|
||||
|
||||
config SYS_REDUNDAND_ENVIRONMENT
|
||||
bool "Enable redundant environment support"
|
||||
depends on ENV_IS_IN_EEPROM || ENV_IS_IN_FLASH || ENV_IS_IN_MMC || \
|
||||
ENV_IS_IN_NAND || ENV_IS_IN_SPI_FLASH || ENV_IS_IN_UBI
|
||||
help
|
||||
Normally, the environemt is stored in a single location. By
|
||||
selecting this option, you can then define where to hold a redundant
|
||||
copy of the environment data, so that there is a valid backup copy in
|
||||
case there is a power failure during a "saveenv" operation.
|
||||
Also this config changes the binary environment structure handling
|
||||
which is used by env import/export commands which are independent of
|
||||
storing variables to redundant location on a non volatile device.
|
||||
|
||||
config ENV_FAT_INTERFACE
|
||||
string "Name of the block device for the environment"
|
||||
|
Loading…
Reference in New Issue
Block a user