184c7204bSMichal Simek /* 284c7204bSMichal Simek * Configuration for Xilinx ZynqMP 384c7204bSMichal Simek * (C) Copyright 2014 - 2015 Xilinx, Inc. 484c7204bSMichal Simek * Michal Simek <michal.simek@xilinx.com> 584c7204bSMichal Simek * 684c7204bSMichal Simek * Based on Configuration for Versatile Express 784c7204bSMichal Simek * 884c7204bSMichal Simek * SPDX-License-Identifier: GPL-2.0+ 984c7204bSMichal Simek */ 1084c7204bSMichal Simek 1184c7204bSMichal Simek #ifndef __XILINX_ZYNQMP_H 1284c7204bSMichal Simek #define __XILINX_ZYNQMP_H 1384c7204bSMichal Simek 1484c7204bSMichal Simek #define CONFIG_REMAKE_ELF 1584c7204bSMichal Simek 1684c7204bSMichal Simek /* #define CONFIG_ARMV8_SWITCH_TO_EL1 */ 1784c7204bSMichal Simek 1884c7204bSMichal Simek #define CONFIG_SYS_NO_FLASH 1984c7204bSMichal Simek 2084c7204bSMichal Simek /* Generic Interrupt Controller Definitions */ 2184c7204bSMichal Simek #define CONFIG_GICV2 2284c7204bSMichal Simek #define GICD_BASE 0xF9010000 2384c7204bSMichal Simek #define GICC_BASE 0xF9020000 2484c7204bSMichal Simek 25d759512fSMichal Simek #define CONFIG_SYS_ALT_MEMTEST 26d759512fSMichal Simek #define CONFIG_SYS_MEMTEST_SCRATCH 0xfffc0000 27d759512fSMichal Simek 288d59d7f6SMichal Simek #ifndef CONFIG_NR_DRAM_BANKS 298d59d7f6SMichal Simek # define CONFIG_NR_DRAM_BANKS 2 308d59d7f6SMichal Simek #endif 318d59d7f6SMichal Simek #define CONFIG_SYS_MEMTEST_START 0 328d59d7f6SMichal Simek #define CONFIG_SYS_MEMTEST_END 1000 3384c7204bSMichal Simek 3484c7204bSMichal Simek /* Have release address at the end of 256MB for now */ 3584c7204bSMichal Simek #define CPU_RELEASE_ADDR 0xFFFFFF0 3684c7204bSMichal Simek 378fbf678bSSoren Brinkmann #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE 3884c7204bSMichal Simek 3984c7204bSMichal Simek /* Generic Timer Definitions - setup in EL3. Setup by ATF for other cases */ 40713b6164SMichal Simek #if !defined(COUNTER_FREQUENCY) 41713b6164SMichal Simek # define COUNTER_FREQUENCY 100000000 42713b6164SMichal Simek #endif 4384c7204bSMichal Simek 4484c7204bSMichal Simek /* Size of malloc() pool */ 4516fa00a7SSiva Durga Prasad Paladugu #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x2000000) 4684c7204bSMichal Simek 4784c7204bSMichal Simek /* Serial setup */ 48b0d18beeSSiva Durga Prasad Paladugu #define CONFIG_ARM_DCC 49b0d18beeSSiva Durga Prasad Paladugu #define CONFIG_CPU_ARMV8 5084c7204bSMichal Simek #define CONFIG_ZYNQ_SERIAL 5184c7204bSMichal Simek 5284c7204bSMichal Simek #define CONFIG_CONS_INDEX 0 5384c7204bSMichal Simek #define CONFIG_BAUDRATE 115200 5484c7204bSMichal Simek #define CONFIG_SYS_BAUDRATE_TABLE \ 5584c7204bSMichal Simek { 4800, 9600, 19200, 38400, 57600, 115200 } 5684c7204bSMichal Simek 5784c7204bSMichal Simek /* Command line configuration */ 5884c7204bSMichal Simek #define CONFIG_CMD_ENV 5984c7204bSMichal Simek #define CONFIG_DOS_PARTITION 6007654ba1SMichal Simek #define CONFIG_EFI_PARTITION 61e6a9ed04SMichal Simek #ifndef CONFIG_SPL_BUILD 62a1207de0SMichal Simek # define CONFIG_ISO_PARTITION 63e6a9ed04SMichal Simek #endif 645cb24200SMichal Simek #define CONFIG_MP 6584c7204bSMichal Simek 66cb7ea820SMichal Simek /* BOOTP options */ 67cb7ea820SMichal Simek #define CONFIG_BOOTP_BOOTFILESIZE 68cb7ea820SMichal Simek #define CONFIG_BOOTP_BOOTPATH 69cb7ea820SMichal Simek #define CONFIG_BOOTP_GATEWAY 70cb7ea820SMichal Simek #define CONFIG_BOOTP_HOSTNAME 71cb7ea820SMichal Simek #define CONFIG_BOOTP_MAY_FAIL 72a1207de0SMichal Simek #define CONFIG_BOOTP_DNS 73a1207de0SMichal Simek #define CONFIG_BOOTP_PXE 74a1207de0SMichal Simek #define CONFIG_BOOTP_SUBNETMASK 75a1207de0SMichal Simek 76a1207de0SMichal Simek /* Diff from config_distro_defaults.h */ 77a1207de0SMichal Simek #define CONFIG_SUPPORT_RAW_INITRD 78d58fc12eSMichal Simek #if !defined(CONFIG_SPL_BUILD) 79a1207de0SMichal Simek #define CONFIG_ENV_VARS_UBOOT_CONFIG 80d58fc12eSMichal Simek #endif 81a1207de0SMichal Simek #define CONFIG_AUTO_COMPLETE 82a1207de0SMichal Simek 83ce0335f2SMichal Simek #if defined(CONFIG_ZYNQ_SDHCI) 8484c7204bSMichal Simek # define CONFIG_GENERIC_MMC 85926782cdSMichal Simek # define CONFIG_SUPPORT_EMMC_BOOT 86f3bd7280SMichal Simek # ifndef CONFIG_ZYNQ_SDHCI_MAX_FREQ 87f3bd7280SMichal Simek # define CONFIG_ZYNQ_SDHCI_MAX_FREQ 200000000 88f3bd7280SMichal Simek # endif 896f09d343SSiva Durga Prasad Paladugu # define CONFIG_ENV_IS_IN_FAT 906f09d343SSiva Durga Prasad Paladugu # define FAT_ENV_DEVICE_AND_PART "0:auto" 916f09d343SSiva Durga Prasad Paladugu # define FAT_ENV_FILE "uboot.env" 926f09d343SSiva Durga Prasad Paladugu # define FAT_ENV_INTERFACE "mmc" 9346f68e68SMichal Simek #endif 9446f68e68SMichal Simek 9546f68e68SMichal Simek #if defined(CONFIG_ZYNQ_SDHCI) || defined(CONFIG_ZYNQMP_USB) 9684c7204bSMichal Simek # define CONFIG_FAT_WRITE 9784c7204bSMichal Simek #endif 9884c7204bSMichal Simek 9978cb965aSSiva Durga Prasad Paladugu #ifdef CONFIG_NAND_ARASAN 10078cb965aSSiva Durga Prasad Paladugu # define CONFIG_CMD_NAND_LOCK_UNLOCK 10178cb965aSSiva Durga Prasad Paladugu # define CONFIG_SYS_MAX_NAND_DEVICE 1 10278cb965aSSiva Durga Prasad Paladugu # define CONFIG_SYS_NAND_SELF_INIT 10378cb965aSSiva Durga Prasad Paladugu # define CONFIG_SYS_NAND_ONFI_DETECTION 10478cb965aSSiva Durga Prasad Paladugu # define CONFIG_MTD_DEVICE 10578cb965aSSiva Durga Prasad Paladugu #endif 10678cb965aSSiva Durga Prasad Paladugu 10784c7204bSMichal Simek /* Miscellaneous configurable options */ 10884c7204bSMichal Simek #define CONFIG_SYS_LOAD_ADDR 0x8000000 10984c7204bSMichal Simek 11016fa00a7SSiva Durga Prasad Paladugu #if defined(CONFIG_ZYNQMP_USB) 1110f676767SSiva Durga Prasad Paladugu #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 1120f676767SSiva Durga Prasad Paladugu #define CONFIG_USB_XHCI_ZYNQMP 1130f676767SSiva Durga Prasad Paladugu 11416fa00a7SSiva Durga Prasad Paladugu #define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x1800000 11516fa00a7SSiva Durga Prasad Paladugu #define DFU_DEFAULT_POLL_TIMEOUT 300 11616fa00a7SSiva Durga Prasad Paladugu #define CONFIG_USB_CABLE_CHECK 11716fa00a7SSiva Durga Prasad Paladugu #define CONFIG_CMD_THOR_DOWNLOAD 11816fa00a7SSiva Durga Prasad Paladugu #define CONFIG_USB_FUNCTION_THOR 11916fa00a7SSiva Durga Prasad Paladugu #define CONFIG_THOR_RESET_OFF 12016fa00a7SSiva Durga Prasad Paladugu #define DFU_ALT_INFO_RAM \ 12116fa00a7SSiva Durga Prasad Paladugu "dfu_ram_info=" \ 1220e43140bSSiva Durga Prasad Paladugu "setenv dfu_alt_info " \ 1231b19daf4SSiva Durga Prasad Paladugu "Image ram $kernel_addr $kernel_size\\\\;" \ 1241b19daf4SSiva Durga Prasad Paladugu "system.dtb ram $fdt_addr $fdt_size\0" \ 12516fa00a7SSiva Durga Prasad Paladugu "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \ 12616fa00a7SSiva Durga Prasad Paladugu "thor_ram=run dfu_ram_info && thordown 0 ram 0\0" 12716fa00a7SSiva Durga Prasad Paladugu 12816fa00a7SSiva Durga Prasad Paladugu #define DFU_ALT_INFO \ 12916fa00a7SSiva Durga Prasad Paladugu DFU_ALT_INFO_RAM 130*5ce987feSSiva Durga Prasad Paladugu 131*5ce987feSSiva Durga Prasad Paladugu #ifndef CONFIG_SPL_BUILD 132*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_USB_FUNCTION_FASTBOOT 133*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_CMD_FASTBOOT 134*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_ANDROID_BOOT_IMAGE 135*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_BUF_ADDR 0x100000 136*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_BUF_SIZE 0x6000000 137*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_FLASH 138*5ce987feSSiva Durga Prasad Paladugu # ifdef CONFIG_ZYNQ_SDHCI 139*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_FLASH_MMC_DEV 0 140*5ce987feSSiva Durga Prasad Paladugu # endif 141*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_PARTITION_UUIDS 142*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_CMD_GPT 143*5ce987feSSiva Durga Prasad Paladugu 144*5ce987feSSiva Durga Prasad Paladugu # define CONFIG_RANDOM_UUID 145*5ce987feSSiva Durga Prasad Paladugu # define PARTS_DEFAULT \ 146*5ce987feSSiva Durga Prasad Paladugu "partitions=uuid_disk=${uuid_gpt_disk};" \ 147*5ce987feSSiva Durga Prasad Paladugu "name=""boot"",size=16M,uuid=${uuid_gpt_boot};" \ 148*5ce987feSSiva Durga Prasad Paladugu "name=""Linux"",size=-M,uuid=${uuid_gpt_Linux}\0" 149*5ce987feSSiva Durga Prasad Paladugu #endif 15016fa00a7SSiva Durga Prasad Paladugu #endif 15116fa00a7SSiva Durga Prasad Paladugu 15216fa00a7SSiva Durga Prasad Paladugu #if !defined(DFU_ALT_INFO) 15316fa00a7SSiva Durga Prasad Paladugu # define DFU_ALT_INFO 15416fa00a7SSiva Durga Prasad Paladugu #endif 15516fa00a7SSiva Durga Prasad Paladugu 156*5ce987feSSiva Durga Prasad Paladugu #if !defined(PARTS_DEFAULT) 157*5ce987feSSiva Durga Prasad Paladugu # define PARTS_DEFAULT 158*5ce987feSSiva Durga Prasad Paladugu #endif 159*5ce987feSSiva Durga Prasad Paladugu 16084c7204bSMichal Simek #define CONFIG_BOARD_LATE_INIT 16184c7204bSMichal Simek 16284c7204bSMichal Simek /* Do not preserve environment */ 1636f09d343SSiva Durga Prasad Paladugu #if !defined(CONFIG_ENV_IS_IN_FAT) 16484c7204bSMichal Simek #define CONFIG_ENV_IS_NOWHERE 1 1656f09d343SSiva Durga Prasad Paladugu #endif 166936b0384SSiva Durga Prasad Paladugu #define CONFIG_ENV_SIZE 0x8000 16784c7204bSMichal Simek 16884c7204bSMichal Simek /* Monitor Command Prompt */ 16984c7204bSMichal Simek /* Console I/O Buffer Size */ 17084c7204bSMichal Simek #define CONFIG_SYS_CBSIZE 2048 17184c7204bSMichal Simek #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ 17284c7204bSMichal Simek sizeof(CONFIG_SYS_PROMPT) + 16) 17384c7204bSMichal Simek #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 17484c7204bSMichal Simek #define CONFIG_SYS_LONGHELP 17584c7204bSMichal Simek #define CONFIG_CMDLINE_EDITING 17684c7204bSMichal Simek #define CONFIG_SYS_MAXARGS 64 17784c7204bSMichal Simek 178cb7ea820SMichal Simek /* Ethernet driver */ 179596e5782SMichal Simek #if defined(CONFIG_ZYNQ_GEM) 180cb7ea820SMichal Simek # define CONFIG_NET_MULTI 181cb7ea820SMichal Simek # define CONFIG_MII 182cb7ea820SMichal Simek # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN 183cb7ea820SMichal Simek # define CONFIG_PHY_MARVELL 184f96fe2c0SMichal Simek # define CONFIG_PHY_NATSEMI 185bf146325SMichal Simek # define CONFIG_PHY_TI 186c4c96f2bSMichal Simek # define CONFIG_PHY_GIGE 187a1a6af82SMichal Simek # define CONFIG_PHY_VITESSE 188a1a6af82SMichal Simek # define CONFIG_PHY_REALTEK 189e2928f32SSiva Durga Prasad Paladugu # define PHY_ANEG_TIMEOUT 20000 190cb7ea820SMichal Simek #endif 191cb7ea820SMichal Simek 1922594e03cSSiva Durga Prasad Paladugu /* I2C */ 1932594e03cSSiva Durga Prasad Paladugu #if defined(CONFIG_SYS_I2C_ZYNQ) 1942594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C 1952594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_ZYNQ_SPEED 100000 1962594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_ZYNQ_SLAVE 0 1972594e03cSSiva Durga Prasad Paladugu #endif 1982594e03cSSiva Durga Prasad Paladugu 1992594e03cSSiva Durga Prasad Paladugu /* EEPROM */ 2002594e03cSSiva Durga Prasad Paladugu #ifdef CONFIG_ZYNQMP_EEPROM 2012594e03cSSiva Durga Prasad Paladugu # define CONFIG_CMD_EEPROM 2022594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 2032594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_EEPROM_ADDR 0x54 2042594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 2052594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 2062594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_EEPROM_SIZE (64 * 1024) 2072594e03cSSiva Durga Prasad Paladugu #endif 2082594e03cSSiva Durga Prasad Paladugu 2090d169b8cSMichal Simek #ifdef CONFIG_SATA_CEVA 2106fe6f135SMichal Simek #define CONFIG_LIBATA 2116fe6f135SMichal Simek #define CONFIG_SCSI_AHCI 212679b994aSMichal Simek #define CONFIG_SYS_SCSI_MAX_SCSI_ID 2 2136fe6f135SMichal Simek #define CONFIG_SYS_SCSI_MAX_LUN 1 2146fe6f135SMichal Simek #define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ 2156fe6f135SMichal Simek CONFIG_SYS_SCSI_MAX_LUN) 216c649e3c9SSimon Glass #define CONFIG_SCSI 2176fe6f135SMichal Simek #endif 2186fe6f135SMichal Simek 21984c7204bSMichal Simek #define CONFIG_SYS_BOOTM_LEN (60 * 1024 * 1024) 22084c7204bSMichal Simek 22184c7204bSMichal Simek #define CONFIG_CMD_UNZIP 22284c7204bSMichal Simek 22384c7204bSMichal Simek #define CONFIG_BOARD_EARLY_INIT_R 22484c7204bSMichal Simek #define CONFIG_CLOCKS 22584c7204bSMichal Simek 226b72894f1SMichal Simek #define ENV_MEM_LAYOUT_SETTINGS \ 227b72894f1SMichal Simek "fdt_high=10000000\0" \ 228b72894f1SMichal Simek "initrd_high=10000000\0" \ 229b72894f1SMichal Simek "fdt_addr_r=0x40000000\0" \ 230b72894f1SMichal Simek "pxefile_addr_r=0x10000000\0" \ 231b72894f1SMichal Simek "kernel_addr_r=0x18000000\0" \ 232b72894f1SMichal Simek "scriptaddr=0x02000000\0" \ 233b72894f1SMichal Simek "ramdisk_addr_r=0x02100000\0" \ 234b72894f1SMichal Simek 235b72894f1SMichal Simek #if defined(CONFIG_ZYNQ_SDHCI) 236b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1) 237b72894f1SMichal Simek #else 238b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_MMC(func) 239b72894f1SMichal Simek #endif 240b72894f1SMichal Simek 241b72894f1SMichal Simek #if defined(CONFIG_SATA_CEVA) 242b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_SCSI(func) func(SCSI, scsi, 0) 243b72894f1SMichal Simek #else 244b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_SCSI(func) 245b72894f1SMichal Simek #endif 246b72894f1SMichal Simek 247b72894f1SMichal Simek #if defined(CONFIG_ZYNQMP_USB) 248b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0) func(USB, usb, 1) 249b72894f1SMichal Simek #else 250b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_USB(func) 251b72894f1SMichal Simek #endif 252b72894f1SMichal Simek 253b72894f1SMichal Simek #define BOOT_TARGET_DEVICES(func) \ 254b72894f1SMichal Simek BOOT_TARGET_DEVICES_MMC(func) \ 255b72894f1SMichal Simek BOOT_TARGET_DEVICES_USB(func) \ 256b72894f1SMichal Simek BOOT_TARGET_DEVICES_SCSI(func) \ 257b72894f1SMichal Simek func(PXE, pxe, na) \ 258b72894f1SMichal Simek func(DHCP, dhcp, na) 259b72894f1SMichal Simek 260b72894f1SMichal Simek #include <config_distro_bootcmd.h> 261b72894f1SMichal Simek 262b72894f1SMichal Simek /* Initial environment variables */ 263b72894f1SMichal Simek #ifndef CONFIG_EXTRA_ENV_SETTINGS 264b72894f1SMichal Simek #define CONFIG_EXTRA_ENV_SETTINGS \ 265b72894f1SMichal Simek ENV_MEM_LAYOUT_SETTINGS \ 266b72894f1SMichal Simek BOOTENV \ 267b72894f1SMichal Simek DFU_ALT_INFO 268b72894f1SMichal Simek #endif 269b72894f1SMichal Simek 270d58fc12eSMichal Simek /* SPL can't handle all huge variables - define just DFU */ 271d58fc12eSMichal Simek #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU_SUPPORT) 272d58fc12eSMichal Simek #undef CONFIG_EXTRA_ENV_SETTINGS 273d58fc12eSMichal Simek # define CONFIG_EXTRA_ENV_SETTINGS \ 274d58fc12eSMichal Simek "dfu_alt_info_ram=uboot.bin ram 0x8000000 0x1000000;" \ 275d58fc12eSMichal Simek "atf-uboot.ub ram 0x10000000 0x1000000;" \ 276d58fc12eSMichal Simek "Image ram 0x80000 0x3f80000;" \ 277d58fc12eSMichal Simek "system.dtb ram 0x4000000 0x100000\0" \ 278d58fc12eSMichal Simek "dfu_bufsiz=0x1000\0" 279d58fc12eSMichal Simek #endif 280d58fc12eSMichal Simek 281e6a9ed04SMichal Simek #define CONFIG_SPL_TEXT_BASE 0xfffc0000 2828fbf678bSSoren Brinkmann #define CONFIG_SPL_STACK 0xfffffffc 283d58fc12eSMichal Simek #define CONFIG_SPL_MAX_SIZE 0x40000 284e6a9ed04SMichal Simek 285e6a9ed04SMichal Simek /* Just random location in OCM */ 2868ed31f36SMichal Simek #define CONFIG_SPL_BSS_START_ADDR 0x0 2878ed31f36SMichal Simek #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 288e6a9ed04SMichal Simek 289e6a9ed04SMichal Simek #define CONFIG_SPL_FRAMEWORK 290e6a9ed04SMichal Simek #define CONFIG_SPL_BOARD_INIT 291e6a9ed04SMichal Simek #define CONFIG_SPL_RAM_DEVICE 292e6a9ed04SMichal Simek 293e6a9ed04SMichal Simek /* u-boot is like dtb */ 294e6a9ed04SMichal Simek #define CONFIG_SPL_FS_LOAD_ARGS_NAME "u-boot.bin" 295e6a9ed04SMichal Simek #define CONFIG_SYS_SPL_ARGS_ADDR 0x8000000 296e6a9ed04SMichal Simek 297e6a9ed04SMichal Simek /* ATF is my kernel image */ 2981309f671SMichal Simek #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "atf-uboot.ub" 299e6a9ed04SMichal Simek 300e6a9ed04SMichal Simek /* FIT load address for RAM boot */ 301e6a9ed04SMichal Simek #define CONFIG_SPL_LOAD_FIT_ADDRESS 0x10000000 302e6a9ed04SMichal Simek 303e6a9ed04SMichal Simek /* MMC support */ 304e6a9ed04SMichal Simek #ifdef CONFIG_ZYNQ_SDHCI 305e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 306e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* unused */ 307e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* unused */ 308e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0 /* unused */ 309e6a9ed04SMichal Simek # define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img" 310e6a9ed04SMichal Simek #endif 311e6a9ed04SMichal Simek 312d58fc12eSMichal Simek #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU_SUPPORT) 313d58fc12eSMichal Simek # undef CONFIG_CMD_BOOTD 314d58fc12eSMichal Simek # define CONFIG_SPL_ENV_SUPPORT 315d58fc12eSMichal Simek # define CONFIG_SPL_HASH_SUPPORT 316d58fc12eSMichal Simek # define CONFIG_ENV_MAX_ENTRIES 10 317d58fc12eSMichal Simek 318d58fc12eSMichal Simek # define CONFIG_SYS_SPL_MALLOC_START 0x20000000 319d58fc12eSMichal Simek # define CONFIG_SYS_SPL_MALLOC_SIZE 0x10000000 320d58fc12eSMichal Simek 321d58fc12eSMichal Simek #ifdef CONFIG_SPL_SYS_MALLOC_SIMPLE 322d58fc12eSMichal Simek # error "Disable CONFIG_SPL_SYS_MALLOC_SIMPLE. Full malloc needs to be used" 323d58fc12eSMichal Simek #endif 324d58fc12eSMichal Simek #endif 325d58fc12eSMichal Simek 32684c7204bSMichal Simek #endif /* __XILINX_ZYNQMP_H */ 327