diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-31 15:22:55 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-08-11 09:42:26 +0300 |
commit | 808cea90f5ab86fcdd9b0190fdb4c70cd6a060fc (patch) | |
tree | 9f074783c444ac3b9d60db985a79f90d2f91e54a /arch/arm | |
parent | 7dd26bbff8489da75ea2b80f0ebede03ee05de3c (diff) | |
download | u-boot-808cea90f5ab86fcdd9b0190fdb4c70cd6a060fc.tar.xz |
arm: mvebu: axp: Set CONFIG_SYS_TCLK globally
This mvebu axp platform always uses fixed 250 MHz TCLK. So specify this
CONFIG_SYS_TCLK option in msys section of global file soc.h file instead of
manual configuration in every board file.
Now every #if-#else case of soc.h file defines CONFIG_SYS_TCLK, so remove
useless default CONFIG_SYS_TCLK value from the end of soc.h file.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mvebu/include/mach/soc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h index e29c0f32c3..8e8a405855 100644 --- a/arch/arm/mach-mvebu/include/mach/soc.h +++ b/arch/arm/mach-mvebu/include/mach/soc.h @@ -208,10 +208,7 @@ #define BOOT_FROM_UART 0x2 #define BOOT_FROM_SPI 0x3 -#endif -/* TCLK Core Clock definition */ -#ifndef CONFIG_SYS_TCLK #define CONFIG_SYS_TCLK 250000000 /* 250MHz */ #endif |