git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b872583
)
arm64: versal: Do not define do_reset() if sysreset is enabled
author
Michal Simek
<michal.simek@amd.com>
Fri, 25 Oct 2024 11:56:07 +0000
(13:56 +0200)
committer
Michal Simek
<michal.simek@amd.com>
Fri, 15 Nov 2024 13:32:47 +0000
(14:32 +0100)
If sysreset is enabled reset_cpu is defined in sysreset uclass that's why
it can't be in platform/board code.
The same change was done by commit
f1bc214b0024
("arm64: zynqmp: Do not
define do_reset() if sysreset is enabled").
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link:
https://lore.kernel.org/r/8c1a5d6148c5e6c46790b725e8148a4e12d393ba.1729857366.git.michal.simek@amd.com
board/xilinx/versal/board.c
patch
|
blob
|
history
diff --git
a/board/xilinx/versal/board.c
b/board/xilinx/versal/board.c
index
3947467
..
27c1cfc
100644
(file)
--- a/
board/xilinx/versal/board.c
+++ b/
board/xilinx/versal/board.c
@@
-301,9
+301,11
@@
int dram_init(void)
return 0;
}
+#if !CONFIG_IS_ENABLED(SYSRESET)
void reset_cpu(void)
{
}
+#endif
#if defined(CONFIG_ENV_IS_NOWHERE)
enum env_location env_get_location(enum env_operation op, int prio)