diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-31 15:22:52 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-08-11 09:42:26 +0300 |
commit | 29795302b942e6ee41c9d95f7e6e29f57d108d42 (patch) | |
tree | 7b13994c6545e80bcf5ed4ccba3e34620e49bd68 /include/configs/turris_omnia.h | |
parent | 293a8de6fa0fdc70f6de6d7fb8d70d46e342e42c (diff) | |
download | u-boot-29795302b942e6ee41c9d95f7e6e29f57d108d42.tar.xz |
arm: mvebu: a38x: Detect CONFIG_SYS_TCLK from SAR register
Bit 15 in SAR register specifies if TCLK is running at 200 MHz or 250 MHz.
Use this information instead of manual configuration in every board file.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/turris_omnia.h')
-rw-r--r-- | include/configs/turris_omnia.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h index 2553da1209..8646633ea4 100644 --- a/include/configs/turris_omnia.h +++ b/include/configs/turris_omnia.h @@ -16,7 +16,6 @@ * for DDR ECC byte filling in the SPL before loading the main * U-Boot into it. */ -#define CONFIG_SYS_TCLK 250000000 /* 250MHz */ /* USB/EHCI configuration */ #define CONFIG_EHCI_IS_TDI |