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:
e6b719a
)
arm64: layerscape: Support SYSRESET
author
Sean Anderson
<sean.anderson@seco.com>
Mon, 26 Sep 2022 16:47:37 +0000
(12:47 -0400)
committer
Peng Fan
<peng.fan@nxp.com>
Mon, 17 Oct 2022 07:17:56 +0000
(15:17 +0800)
CONFIG_SYSRESET provides its own implementation of reset_cpu. Disable
our version when it is enabled.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
index
c989a43
..
487c0ed
100644
(file)
--- a/
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
+++ b/
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
@@
-1229,6
+1229,7
@@
int timer_init(void)
return 0;
}
+#if !CONFIG_IS_ENABLED(SYSRESET)
__efi_runtime_data u32 __iomem *rstcr = (u32 *)CONFIG_SYS_FSL_RST_ADDR;
void __efi_runtime reset_cpu(void)
@@
-1248,6
+1249,7
@@
void __efi_runtime reset_cpu(void)
scfg_out32(rstcr, val);
#endif
}
+#endif
#if defined(CONFIG_EFI_LOADER) && !defined(CONFIG_PSCI_RESET)