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:
b04c21a
)
arm: mvebu: ac5: Define mvebu_get_nand_clock()
author
Chris Packham
<judge.packham@gmail.com>
Sun, 9 Jul 2023 22:47:33 +0000
(10:47 +1200)
committer
Stefan Roese
<sr@denx.de>
Thu, 13 Jul 2023 08:26:27 +0000
(10:26 +0200)
The NF_CLK for the AC5 SoC runs at 400MHz. There's no strapping
or gating require so just add a mvebu_get_nand_clock() that
returns this value.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/alleycat5/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mvebu/alleycat5/soc.c
b/arch/arm/mach-mvebu/alleycat5/soc.c
index
dc69f46
..
734b0a8
100644
(file)
--- a/
arch/arm/mach-mvebu/alleycat5/soc.c
+++ b/
arch/arm/mach-mvebu/alleycat5/soc.c
@@
-255,6
+255,12
@@
void soc_print_clock_info(void)
printf("\tMSS %4d MHz\n", 200);
}
+/* Return NAND clock in Hz */
+u32 mvebu_get_nand_clock(void)
+{
+ return 400 * 1000000;
+}
+
/*
* Override of __weak int mach_cpu_init(void) :
* SoC/machine dependent CPU setup