diff options
author | Vipul Kumar <vipul.kumar@xilinx.com> | 2018-02-15 11:24:41 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-03-23 09:34:44 +0100 |
commit | fce0a6b521aca50f9ef098ccbbbb33efa4a6486e (patch) | |
tree | 01d8f69c85f9b1764333ddfc31841f90e43e0f72 /include/configs/xilinx_zynqmp.h | |
parent | f5e2943b8b189f2889d925317c30bf4ecb8e9cf9 (diff) |
arm64: zynqmp: Changed scratch address used by the alternate memory test
This patch changed CONFIG_SYS_MEMTEST_SCRATCH address to the
accessible DDR address used by alternate memory test.
Before this, 0xfffc0000 address was used, which is the OCM
address and not enabled in MMU table. So, whenever trying
to access 0xfffc0000 address, got Synchronous Abort exception.
After changing CONFIG_SYS_MEMTEST_SCRATCH address, alternate
memory test is working fine.
Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/xilinx_zynqmp.h')
-rw-r--r-- | include/configs/xilinx_zynqmp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index e23b0f2adb..8c0b5d9c06 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -21,7 +21,9 @@ #define GICC_BASE 0xF9020000 #define CONFIG_SYS_ALT_MEMTEST -#define CONFIG_SYS_MEMTEST_SCRATCH 0xfffc0000 +#ifndef CONFIG_SYS_MEMTEST_SCRATCH +# define CONFIG_SYS_MEMTEST_SCRATCH 0x10800000 +#endif #ifndef CONFIG_NR_DRAM_BANKS # define CONFIG_NR_DRAM_BANKS 2 |