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 595cb24200SMichal Simek #define CONFIG_MP 6084c7204bSMichal Simek 61cb7ea820SMichal Simek /* BOOTP options */ 62cb7ea820SMichal Simek #define CONFIG_BOOTP_BOOTFILESIZE 63cb7ea820SMichal Simek #define CONFIG_BOOTP_BOOTPATH 64cb7ea820SMichal Simek #define CONFIG_BOOTP_GATEWAY 65cb7ea820SMichal Simek #define CONFIG_BOOTP_HOSTNAME 66cb7ea820SMichal Simek #define CONFIG_BOOTP_MAY_FAIL 67a1207de0SMichal Simek #define CONFIG_BOOTP_DNS 68a1207de0SMichal Simek #define CONFIG_BOOTP_PXE 69a1207de0SMichal Simek #define CONFIG_BOOTP_SUBNETMASK 70a1207de0SMichal Simek 71a1207de0SMichal Simek /* Diff from config_distro_defaults.h */ 72a1207de0SMichal Simek #define CONFIG_SUPPORT_RAW_INITRD 73d58fc12eSMichal Simek #if !defined(CONFIG_SPL_BUILD) 74a1207de0SMichal Simek #define CONFIG_ENV_VARS_UBOOT_CONFIG 75d58fc12eSMichal Simek #endif 76a1207de0SMichal Simek #define CONFIG_AUTO_COMPLETE 77a1207de0SMichal Simek 78*08aa0334SMasahiro Yamada #if defined(CONFIG_MMC_SDHCI_ZYNQ) 79926782cdSMichal Simek # define CONFIG_SUPPORT_EMMC_BOOT 80f3bd7280SMichal Simek # ifndef CONFIG_ZYNQ_SDHCI_MAX_FREQ 81f3bd7280SMichal Simek # define CONFIG_ZYNQ_SDHCI_MAX_FREQ 200000000 82f3bd7280SMichal Simek # endif 836f09d343SSiva Durga Prasad Paladugu # define CONFIG_ENV_IS_IN_FAT 846f09d343SSiva Durga Prasad Paladugu # define FAT_ENV_DEVICE_AND_PART "0:auto" 856f09d343SSiva Durga Prasad Paladugu # define FAT_ENV_FILE "uboot.env" 866f09d343SSiva Durga Prasad Paladugu # define FAT_ENV_INTERFACE "mmc" 8746f68e68SMichal Simek #endif 8846f68e68SMichal Simek 89*08aa0334SMasahiro Yamada #if defined(CONFIG_MMC_SDHCI_ZYNQ) || defined(CONFIG_ZYNQMP_USB) 9084c7204bSMichal Simek # define CONFIG_FAT_WRITE 9184c7204bSMichal Simek #endif 9284c7204bSMichal Simek 9378cb965aSSiva Durga Prasad Paladugu #ifdef CONFIG_NAND_ARASAN 9478cb965aSSiva Durga Prasad Paladugu # define CONFIG_CMD_NAND_LOCK_UNLOCK 9578cb965aSSiva Durga Prasad Paladugu # define CONFIG_SYS_MAX_NAND_DEVICE 1 9678cb965aSSiva Durga Prasad Paladugu # define CONFIG_SYS_NAND_SELF_INIT 9778cb965aSSiva Durga Prasad Paladugu # define CONFIG_SYS_NAND_ONFI_DETECTION 9878cb965aSSiva Durga Prasad Paladugu # define CONFIG_MTD_DEVICE 9978cb965aSSiva Durga Prasad Paladugu #endif 10078cb965aSSiva Durga Prasad Paladugu 10184c7204bSMichal Simek /* Miscellaneous configurable options */ 10284c7204bSMichal Simek #define CONFIG_SYS_LOAD_ADDR 0x8000000 10384c7204bSMichal Simek 10416fa00a7SSiva Durga Prasad Paladugu #if defined(CONFIG_ZYNQMP_USB) 1050f676767SSiva Durga Prasad Paladugu #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 1060f676767SSiva Durga Prasad Paladugu 10716fa00a7SSiva Durga Prasad Paladugu #define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x1800000 10816fa00a7SSiva Durga Prasad Paladugu #define DFU_DEFAULT_POLL_TIMEOUT 300 10916fa00a7SSiva Durga Prasad Paladugu #define CONFIG_USB_CABLE_CHECK 11016fa00a7SSiva Durga Prasad Paladugu #define CONFIG_CMD_THOR_DOWNLOAD 11116fa00a7SSiva Durga Prasad Paladugu #define CONFIG_USB_FUNCTION_THOR 11216fa00a7SSiva Durga Prasad Paladugu #define CONFIG_THOR_RESET_OFF 11316fa00a7SSiva Durga Prasad Paladugu #define DFU_ALT_INFO_RAM \ 11416fa00a7SSiva Durga Prasad Paladugu "dfu_ram_info=" \ 1150e43140bSSiva Durga Prasad Paladugu "setenv dfu_alt_info " \ 1161b19daf4SSiva Durga Prasad Paladugu "Image ram $kernel_addr $kernel_size\\\\;" \ 1171b19daf4SSiva Durga Prasad Paladugu "system.dtb ram $fdt_addr $fdt_size\0" \ 11816fa00a7SSiva Durga Prasad Paladugu "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \ 11916fa00a7SSiva Durga Prasad Paladugu "thor_ram=run dfu_ram_info && thordown 0 ram 0\0" 12016fa00a7SSiva Durga Prasad Paladugu 12116fa00a7SSiva Durga Prasad Paladugu #define DFU_ALT_INFO \ 12216fa00a7SSiva Durga Prasad Paladugu DFU_ALT_INFO_RAM 1235ce987feSSiva Durga Prasad Paladugu 1245ce987feSSiva Durga Prasad Paladugu #ifndef CONFIG_SPL_BUILD 1255ce987feSSiva Durga Prasad Paladugu # define CONFIG_USB_FUNCTION_FASTBOOT 1265ce987feSSiva Durga Prasad Paladugu # define CONFIG_CMD_FASTBOOT 1275ce987feSSiva Durga Prasad Paladugu # define CONFIG_ANDROID_BOOT_IMAGE 1285ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_BUF_ADDR 0x100000 1295ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_BUF_SIZE 0x6000000 1305ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_FLASH 131*08aa0334SMasahiro Yamada # ifdef CONFIG_MMC_SDHCI_ZYNQ 1325ce987feSSiva Durga Prasad Paladugu # define CONFIG_FASTBOOT_FLASH_MMC_DEV 0 1335ce987feSSiva Durga Prasad Paladugu # endif 1345ce987feSSiva Durga Prasad Paladugu 1355ce987feSSiva Durga Prasad Paladugu # define CONFIG_RANDOM_UUID 1365ce987feSSiva Durga Prasad Paladugu # define PARTS_DEFAULT \ 1375ce987feSSiva Durga Prasad Paladugu "partitions=uuid_disk=${uuid_gpt_disk};" \ 1385ce987feSSiva Durga Prasad Paladugu "name=""boot"",size=16M,uuid=${uuid_gpt_boot};" \ 1395ce987feSSiva Durga Prasad Paladugu "name=""Linux"",size=-M,uuid=${uuid_gpt_Linux}\0" 1405ce987feSSiva Durga Prasad Paladugu #endif 14116fa00a7SSiva Durga Prasad Paladugu #endif 14216fa00a7SSiva Durga Prasad Paladugu 14316fa00a7SSiva Durga Prasad Paladugu #if !defined(DFU_ALT_INFO) 14416fa00a7SSiva Durga Prasad Paladugu # define DFU_ALT_INFO 14516fa00a7SSiva Durga Prasad Paladugu #endif 14616fa00a7SSiva Durga Prasad Paladugu 1475ce987feSSiva Durga Prasad Paladugu #if !defined(PARTS_DEFAULT) 1485ce987feSSiva Durga Prasad Paladugu # define PARTS_DEFAULT 1495ce987feSSiva Durga Prasad Paladugu #endif 1505ce987feSSiva Durga Prasad Paladugu 15184c7204bSMichal Simek /* Do not preserve environment */ 1526f09d343SSiva Durga Prasad Paladugu #if !defined(CONFIG_ENV_IS_IN_FAT) 15384c7204bSMichal Simek #define CONFIG_ENV_IS_NOWHERE 1 1546f09d343SSiva Durga Prasad Paladugu #endif 155936b0384SSiva Durga Prasad Paladugu #define CONFIG_ENV_SIZE 0x8000 15684c7204bSMichal Simek 15784c7204bSMichal Simek /* Monitor Command Prompt */ 15884c7204bSMichal Simek /* Console I/O Buffer Size */ 15984c7204bSMichal Simek #define CONFIG_SYS_CBSIZE 2048 16084c7204bSMichal Simek #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ 16184c7204bSMichal Simek sizeof(CONFIG_SYS_PROMPT) + 16) 16284c7204bSMichal Simek #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 16384c7204bSMichal Simek #define CONFIG_SYS_LONGHELP 16484c7204bSMichal Simek #define CONFIG_CMDLINE_EDITING 16584c7204bSMichal Simek #define CONFIG_SYS_MAXARGS 64 16684c7204bSMichal Simek 167cb7ea820SMichal Simek /* Ethernet driver */ 168596e5782SMichal Simek #if defined(CONFIG_ZYNQ_GEM) 169cb7ea820SMichal Simek # define CONFIG_NET_MULTI 170cb7ea820SMichal Simek # define CONFIG_MII 171cb7ea820SMichal Simek # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN 172cb7ea820SMichal Simek # define CONFIG_PHY_MARVELL 173f96fe2c0SMichal Simek # define CONFIG_PHY_NATSEMI 174bf146325SMichal Simek # define CONFIG_PHY_TI 175c4c96f2bSMichal Simek # define CONFIG_PHY_GIGE 176a1a6af82SMichal Simek # define CONFIG_PHY_VITESSE 177a1a6af82SMichal Simek # define CONFIG_PHY_REALTEK 178e2928f32SSiva Durga Prasad Paladugu # define PHY_ANEG_TIMEOUT 20000 179cb7ea820SMichal Simek #endif 180cb7ea820SMichal Simek 1812594e03cSSiva Durga Prasad Paladugu /* I2C */ 1822594e03cSSiva Durga Prasad Paladugu #if defined(CONFIG_SYS_I2C_ZYNQ) 1832594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C 1842594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_ZYNQ_SPEED 100000 1852594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_ZYNQ_SLAVE 0 1862594e03cSSiva Durga Prasad Paladugu #endif 1872594e03cSSiva Durga Prasad Paladugu 1882594e03cSSiva Durga Prasad Paladugu /* EEPROM */ 1892594e03cSSiva Durga Prasad Paladugu #ifdef CONFIG_ZYNQMP_EEPROM 1902594e03cSSiva Durga Prasad Paladugu # define CONFIG_CMD_EEPROM 1912594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 1922594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_I2C_EEPROM_ADDR 0x54 1932594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 1942594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 1952594e03cSSiva Durga Prasad Paladugu # define CONFIG_SYS_EEPROM_SIZE (64 * 1024) 1962594e03cSSiva Durga Prasad Paladugu #endif 1972594e03cSSiva Durga Prasad Paladugu 1980d169b8cSMichal Simek #ifdef CONFIG_SATA_CEVA 1996fe6f135SMichal Simek #define CONFIG_LIBATA 2006fe6f135SMichal Simek #define CONFIG_SCSI_AHCI 201679b994aSMichal Simek #define CONFIG_SYS_SCSI_MAX_SCSI_ID 2 2026fe6f135SMichal Simek #define CONFIG_SYS_SCSI_MAX_LUN 1 2036fe6f135SMichal Simek #define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ 2046fe6f135SMichal Simek CONFIG_SYS_SCSI_MAX_LUN) 205c649e3c9SSimon Glass #define CONFIG_SCSI 2066fe6f135SMichal Simek #endif 2076fe6f135SMichal Simek 20884c7204bSMichal Simek #define CONFIG_SYS_BOOTM_LEN (60 * 1024 * 1024) 20984c7204bSMichal Simek 21084c7204bSMichal Simek #define CONFIG_CMD_UNZIP 21184c7204bSMichal Simek 21284c7204bSMichal Simek #define CONFIG_BOARD_EARLY_INIT_R 21384c7204bSMichal Simek #define CONFIG_CLOCKS 21484c7204bSMichal Simek 215b72894f1SMichal Simek #define ENV_MEM_LAYOUT_SETTINGS \ 216b72894f1SMichal Simek "fdt_high=10000000\0" \ 217b72894f1SMichal Simek "initrd_high=10000000\0" \ 218b72894f1SMichal Simek "fdt_addr_r=0x40000000\0" \ 219b72894f1SMichal Simek "pxefile_addr_r=0x10000000\0" \ 220b72894f1SMichal Simek "kernel_addr_r=0x18000000\0" \ 221b72894f1SMichal Simek "scriptaddr=0x02000000\0" \ 222b72894f1SMichal Simek "ramdisk_addr_r=0x02100000\0" \ 223b72894f1SMichal Simek 224*08aa0334SMasahiro Yamada #if defined(CONFIG_MMC_SDHCI_ZYNQ) 225b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1) 226b72894f1SMichal Simek #else 227b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_MMC(func) 228b72894f1SMichal Simek #endif 229b72894f1SMichal Simek 230b72894f1SMichal Simek #if defined(CONFIG_SATA_CEVA) 231b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_SCSI(func) func(SCSI, scsi, 0) 232b72894f1SMichal Simek #else 233b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_SCSI(func) 234b72894f1SMichal Simek #endif 235b72894f1SMichal Simek 236b72894f1SMichal Simek #if defined(CONFIG_ZYNQMP_USB) 237b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0) func(USB, usb, 1) 238b72894f1SMichal Simek #else 239b72894f1SMichal Simek # define BOOT_TARGET_DEVICES_USB(func) 240b72894f1SMichal Simek #endif 241b72894f1SMichal Simek 242b72894f1SMichal Simek #define BOOT_TARGET_DEVICES(func) \ 243b72894f1SMichal Simek BOOT_TARGET_DEVICES_MMC(func) \ 244b72894f1SMichal Simek BOOT_TARGET_DEVICES_USB(func) \ 245b72894f1SMichal Simek BOOT_TARGET_DEVICES_SCSI(func) \ 246b72894f1SMichal Simek func(PXE, pxe, na) \ 247b72894f1SMichal Simek func(DHCP, dhcp, na) 248b72894f1SMichal Simek 249b72894f1SMichal Simek #include <config_distro_bootcmd.h> 250b72894f1SMichal Simek 251b72894f1SMichal Simek /* Initial environment variables */ 252b72894f1SMichal Simek #ifndef CONFIG_EXTRA_ENV_SETTINGS 253b72894f1SMichal Simek #define CONFIG_EXTRA_ENV_SETTINGS \ 254b72894f1SMichal Simek ENV_MEM_LAYOUT_SETTINGS \ 255b72894f1SMichal Simek BOOTENV \ 256b72894f1SMichal Simek DFU_ALT_INFO 257b72894f1SMichal Simek #endif 258b72894f1SMichal Simek 259d58fc12eSMichal Simek /* SPL can't handle all huge variables - define just DFU */ 260d58fc12eSMichal Simek #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU_SUPPORT) 261d58fc12eSMichal Simek #undef CONFIG_EXTRA_ENV_SETTINGS 262d58fc12eSMichal Simek # define CONFIG_EXTRA_ENV_SETTINGS \ 263d58fc12eSMichal Simek "dfu_alt_info_ram=uboot.bin ram 0x8000000 0x1000000;" \ 264d58fc12eSMichal Simek "atf-uboot.ub ram 0x10000000 0x1000000;" \ 265d58fc12eSMichal Simek "Image ram 0x80000 0x3f80000;" \ 266d58fc12eSMichal Simek "system.dtb ram 0x4000000 0x100000\0" \ 267d58fc12eSMichal Simek "dfu_bufsiz=0x1000\0" 268d58fc12eSMichal Simek #endif 269d58fc12eSMichal Simek 270e6a9ed04SMichal Simek #define CONFIG_SPL_TEXT_BASE 0xfffc0000 2718fbf678bSSoren Brinkmann #define CONFIG_SPL_STACK 0xfffffffc 272d58fc12eSMichal Simek #define CONFIG_SPL_MAX_SIZE 0x40000 273e6a9ed04SMichal Simek 274e6a9ed04SMichal Simek /* Just random location in OCM */ 2758ed31f36SMichal Simek #define CONFIG_SPL_BSS_START_ADDR 0x0 2768ed31f36SMichal Simek #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 277e6a9ed04SMichal Simek 278e6a9ed04SMichal Simek #define CONFIG_SPL_FRAMEWORK 279e6a9ed04SMichal Simek #define CONFIG_SPL_BOARD_INIT 280e6a9ed04SMichal Simek 281e6a9ed04SMichal Simek /* u-boot is like dtb */ 282e6a9ed04SMichal Simek #define CONFIG_SPL_FS_LOAD_ARGS_NAME "u-boot.bin" 283e6a9ed04SMichal Simek #define CONFIG_SYS_SPL_ARGS_ADDR 0x8000000 284e6a9ed04SMichal Simek 285e6a9ed04SMichal Simek /* ATF is my kernel image */ 2861309f671SMichal Simek #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "atf-uboot.ub" 287e6a9ed04SMichal Simek 288e6a9ed04SMichal Simek /* FIT load address for RAM boot */ 289e6a9ed04SMichal Simek #define CONFIG_SPL_LOAD_FIT_ADDRESS 0x10000000 290e6a9ed04SMichal Simek 291e6a9ed04SMichal Simek /* MMC support */ 292*08aa0334SMasahiro Yamada #ifdef CONFIG_MMC_SDHCI_ZYNQ 293e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 294e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* unused */ 295e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* unused */ 296e6a9ed04SMichal Simek # define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0 /* unused */ 297e6a9ed04SMichal Simek # define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img" 298e6a9ed04SMichal Simek #endif 299e6a9ed04SMichal Simek 300d58fc12eSMichal Simek #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU_SUPPORT) 301d58fc12eSMichal Simek # undef CONFIG_CMD_BOOTD 302d58fc12eSMichal Simek # define CONFIG_SPL_ENV_SUPPORT 303d58fc12eSMichal Simek # define CONFIG_SPL_HASH_SUPPORT 304d58fc12eSMichal Simek # define CONFIG_ENV_MAX_ENTRIES 10 305d58fc12eSMichal Simek 306d58fc12eSMichal Simek # define CONFIG_SYS_SPL_MALLOC_START 0x20000000 307d58fc12eSMichal Simek # define CONFIG_SYS_SPL_MALLOC_SIZE 0x10000000 308d58fc12eSMichal Simek 309d58fc12eSMichal Simek #ifdef CONFIG_SPL_SYS_MALLOC_SIMPLE 310d58fc12eSMichal Simek # error "Disable CONFIG_SPL_SYS_MALLOC_SIMPLE. Full malloc needs to be used" 311d58fc12eSMichal Simek #endif 312d58fc12eSMichal Simek #endif 313d58fc12eSMichal Simek 31484c7204bSMichal Simek #endif /* __XILINX_ZYNQMP_H */ 315