]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Fix mini mtest configuration
authorMichal Simek <michal.simek@xilinx.com>
Thu, 29 Nov 2018 09:37:49 +0000 (10:37 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 12 Dec 2018 11:43:22 +0000 (12:43 +0100)
- Put ddr memory range to dts file to show how to specify DDR which should
  be tested.
- Disable board_late_init setup
- Enable alternative u-boot memory test

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-mini.dts
configs/xilinx_zynqmp_mini_defconfig

index 0369c8a88400448db4d333c0c68966e26709ef74..1faee9ec75eeb3c882522e17d2044634f7d53f14 100644 (file)
@@ -25,7 +25,7 @@
 
        memory@0 {
                device_type = "memory";
-               reg = <0x0 0xfffc0000 0x0 0x40000>;
+               reg = <0x0 0xfffc0000 0x0 0x40000>, <0x0 0x0 0x0 0x80000000>;
        };
 
        dcc: dcc {
index 6c4ce8d588907f6232558197c97e7a987522a5e1..e54c81cb48c80cfe5dc12141e5440bc4c93a756a 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_SYS_MEM_RSVD_FOR_MMU=y
 CONFIG_ZYNQMP_PSU_INIT_ENABLED=y
 # CONFIG_CMD_ZYNQMP is not set
 # CONFIG_IMAGE_FORMAT_LEGACY is not set
+# CONFIG_BOARD_LATE_INIT is not set
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_CMDLINE_EDITING is not set
 # CONFIG_AUTO_COMPLETE is not set
@@ -31,6 +32,7 @@ CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_ENV_EXISTS is not set
 # CONFIG_CMD_CRC32 is not set
 CONFIG_CMD_MEMTEST=y
+CONFIG_SYS_ALT_MEMTEST=y
 # CONFIG_CMD_DM is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_LOADB is not set