summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8
diff options
context:
space:
mode:
authorJC Kuo <jckuo@nvidia.com>2020-03-26 16:10:09 -0700
committerTom Warren <twarren@nvidia.com>2020-04-02 14:30:01 -0700
commitd491dc09e4cfb7e513d3d6f448d811f1297753d9 (patch)
treedf53d53d39048ade69bc6e351ee8c78b9aff5fc7 /arch/arm/cpu/armv8
parent9eb15cbe5c94fca24519b5d89d934eeb34a68e5d (diff)
downloadu-boot-d491dc09e4cfb7e513d3d6f448d811f1297753d9.tar.gz
u-boot-d491dc09e4cfb7e513d3d6f448d811f1297753d9.tar.bz2
u-boot-d491dc09e4cfb7e513d3d6f448d811f1297753d9.zip
t210: do not enable PLLE and UPHY PLL HW PWRSEQ
This commit removes the programming sequence that enables PLLE and UPHY PLL hardware power sequencers. Per TRM, boot software should enable PLLE and UPHY PLLs in software controlled power-on state and should power down PLL before jumping into kernel or the next stage boot software. Adds call to board_cleanup_before_linux to facilitate this. Signed-off-by: JC Kuo <jckuo@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/cpu/armv8')
-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 2467e0b87b..35752037bc 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();
/*