mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 12:01:31 +00:00
arm: mvebu: move SYS_MVEBU_PLL_CLOCK to Kconfig
The main PLL frequency is 2GHz for Armada-XP and 1GHZ for Armada 375, 38x and 39x. [ Linux commit ae142bd9976532aa5232ab0b00e621690d8bfe6a ] Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
eb1f7784f4
commit
a53d97ae85
2 changed files with 6 additions and 3 deletions
|
@ -36,6 +36,12 @@ config ARMADA_8K
|
||||||
bool
|
bool
|
||||||
select ARM64
|
select ARM64
|
||||||
|
|
||||||
|
# Armada PLL frequency (used for NAND clock generation)
|
||||||
|
config SYS_MVEBU_PLL_CLOCK
|
||||||
|
int
|
||||||
|
default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K
|
||||||
|
default "1000000000" if ARMADA_38X || ARMADA_375
|
||||||
|
|
||||||
# Armada XP/38x SoC types...
|
# Armada XP/38x SoC types...
|
||||||
config MV78230
|
config MV78230
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -31,9 +31,6 @@
|
||||||
#define CONFIG_SYS_TCLK 250000000 /* 250MHz */
|
#define CONFIG_SYS_TCLK 250000000 /* 250MHz */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Armada XP PLL frequency (used for NAND clock generation) */
|
|
||||||
#define CONFIG_SYS_MVEBU_PLL_CLOCK 2000000000
|
|
||||||
|
|
||||||
/* SOC specific definations */
|
/* SOC specific definations */
|
||||||
#define INTREG_BASE 0xd0000000
|
#define INTREG_BASE 0xd0000000
|
||||||
#define INTREG_BASE_ADDR_REG (INTREG_BASE + 0x20080)
|
#define INTREG_BASE_ADDR_REG (INTREG_BASE + 0x20080)
|
||||||
|
|
Loading…
Add table
Reference in a new issue