projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
242d1cd
)
ARM: reset: use do_reset in SPL/TPL if SYSRESET was not enabled for them
author
Claudius Heine
<ch@denx.de>
Wed, 4 Mar 2020 14:23:10 +0000
(15:23 +0100)
committer
Stefano Babic
<sbabic@denx.de>
Fri, 1 May 2020 11:46:22 +0000
(13:46 +0200)
In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available
anywere, even if SYSRESET is disabled for SPL/TPL.
'do_reset' is called from SPL for instance from the panic handler and
PANIC_HANG is not set
Signed-off-by: Claudius Heine <ch@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/lib/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/lib/Makefile
b/arch/arm/lib/Makefile
index
8482f54
..
b839aa7
100644
(file)
--- a/
arch/arm/lib/Makefile
+++ b/
arch/arm/lib/Makefile
@@
-57,7
+57,7
@@
obj-y += interrupts_64.o
else
obj-y += interrupts.o
endif
-ifndef CONFIG_SYSRESET
+ifndef CONFIG_
$(SPL_TPL_)
SYSRESET
obj-y += reset.o
endif