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:
7d8eafc
)
arm64: versal2: Do not define do_reset() if sysreset is enabled
author
Venkatesh Yadav Abbarapu
<venkatesh.abbarapu@amd.com>
Mon, 7 Jul 2025 04:06:07 +0000
(09:36 +0530)
committer
Michal Simek
<michal.simek@amd.com>
Tue, 8 Jul 2025 12:58:44 +0000
(14:58 +0200)
If sysreset is enabled reset_cpu is defined in sysreset uclass
that's why it can't be in platform/board code.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link:
https://lore.kernel.org/r/20250707040607.758919-3-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/amd/versal2/board.c
patch
|
blob
|
history
diff --git
a/board/amd/versal2/board.c
b/board/amd/versal2/board.c
index
72967e6
..
7d91d28
100644
(file)
--- a/
board/amd/versal2/board.c
+++ b/
board/amd/versal2/board.c
@@
-365,9
+365,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)