mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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 efa1a62ad2
("ARM: imx8m: Do not define
do_reset() if sysreset is enabled").
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
bfc05d7e2a
commit
f1bc214b00
1 changed files with 2 additions and 0 deletions
|
@ -499,9 +499,11 @@ int dram_init(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !CONFIG_IS_ENABLED(SYSRESET)
|
||||||
void reset_cpu(void)
|
void reset_cpu(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static u8 __maybe_unused zynqmp_get_bootmode(void)
|
static u8 __maybe_unused zynqmp_get_bootmode(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue