summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/cpu.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-04-03 16:05:46 -0400
committerTom Rini <trini@konsulko.com>2020-04-03 16:05:46 -0400
commit60f1cc529ccc364e8374945a06ff2f7a2c54fb1e (patch)
treefa4cc23755d3cb6f346e388274c7173c9c819c60 /arch/arm/cpu/armv8/cpu.c
parente14ba8a57703457e31248eccd4959cead92e2063 (diff)
parent7c02bc9649f6d3afd272ac4a94b280495473834c (diff)
Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-tegra
- Add support for Jetson Nano, plus miscellaneous other fixes found during Nano bringup. - Add Igor's update_uboot wrapper patches.
Diffstat (limited to 'arch/arm/cpu/armv8/cpu.c')
-rw-r--r--arch/arm/cpu/armv8/cpu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/cpu.c b/arch/arm/cpu/armv8/cpu.c
index 2467e0b87be..35752037bcf 100644
--- a/arch/arm/cpu/armv8/cpu.c
+++ b/arch/arm/cpu/armv8/cpu.c
@@ -32,6 +32,8 @@ void sdelay(unsigned long loops)
"b.ne 1b" : "=r" (loops) : "0"(loops) : "cc");
}
+void __weak board_cleanup_before_linux(void){}
+
int cleanup_before_linux(void)
{
/*
@@ -40,6 +42,9 @@ int cleanup_before_linux(void)
*
* disable interrupt and turn off caches etc ...
*/
+
+ board_cleanup_before_linux();
+
disable_interrupts();
/*