提交 f1bc214b 编写于 作者: M Michal Simek

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 efa1a62a ("ARM: imx8m: Do not define
do_reset() if sysreset is enabled").
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 bfc05d7e
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册