diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-13 06:12:34 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-28 00:20:18 +0300 |
commit | ada261f19a7f034109f6f45ff43f9c76c4dbe208 (patch) | |
tree | 9422d410488b6ff9aa4cde518f853fd10772f27f /common | |
parent | 6880b330a9f96403985bf70962934f9a7a2a1397 (diff) | |
download | u-boot-ada261f19a7f034109f6f45ff43f9c76c4dbe208.tar.xz |
Finish converting CONFIG_SYS_FSL_CLK to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_FSL_CLK
We move the exiting option to common/Kconfig near the other options to
control the contents of board_init_f() and note that this is a legacy
option. We further restrict this to where the call is going to be
non-empty, for the SoCs that had only been using this for some
MMC-related clocks.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 50ac4331f5..0892d9be36 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -534,6 +534,15 @@ config BOARD_LATE_INIT So this config enable the late init code with the help of board_late_init function which should defined on respective boards. +config SYS_FSL_CLK + bool + depends on ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 || \ + (FSL_ESDHC_IMX && (ARCH_MX5 || ARCH_MX6 || ARCH_MX7)) + default y + help + Enable to call get_clocks() in board_init_f() for platforms other + than PowerPC or M68k. This is a legacy option. If not TARGET_BRPPT2 + config LAST_STAGE_INIT bool "Call board-specific as last setup step" help |