diff options
author | Michal Simek <michal.simek@xilinx.com> | 2021-07-13 17:39:26 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-07-26 10:18:45 +0300 |
commit | f1bc214b0024b8d9585d83a42999a40980728303 (patch) | |
tree | c98b349db91ac69ba25716931053b7592fa9d903 /board | |
parent | bfc05d7e2af334c5907c38a94eddb18b5e92faaf (diff) | |
download | u-boot-f1bc214b0024b8d9585d83a42999a40980728303.tar.xz |
arm64: zynqmp: Do not define do_reset() if sysreset is enabled
The SPL can also be compiled with sysreset drivers just fine, so
update the condition to cater for that option.
The same change was done by commit efa1a62ad2dd ("ARM: imx8m: Do not define
do_reset() if sysreset is enabled").
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 18d5c515de..38c910fa5b 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -499,9 +499,11 @@ int dram_init(void) } #endif +#if !CONFIG_IS_ENABLED(SYSRESET) void reset_cpu(void) { } +#endif static u8 __maybe_unused zynqmp_get_bootmode(void) { |