u-boot/board/freescale/common
Tom Rini 2f8a6db5d8 Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig
In order to finish moving this symbol to Kconfig for all platforms, we
need to do a few more things.  First, for all platforms that define this
to a function, introduce CONFIG_DYNAMIC_SYS_CLK_FREQ, similar to
CONFIG_DYNAMIC_DDR_CLK_FREQ and populate clock_legacy.h.  This entails
also switching all users from CONFIG_SYS_CLK_FREQ to get_board_sys_clk()
and updating a few preprocessor tests.

With that done, all platforms that define a value here can be converted
to Kconfig, and a fall-back of zero is sufficiently safe to use (and
what is used today in cases where code may or may not have this
available).  Make sure that code which calls this function includes
<clock_legacy.h> to get the prototype.

Signed-off-by: Tom Rini <trini@konsulko.com>
2021-12-27 16:20:18 -05:00
..
p_corenet pci: freescale: Drop old code 2021-08-05 16:14:36 -04:00
arm_sleep.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cadmus.c Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
cadmus.h CONFIG_SYS_CLK_FREQ: Consistently be static or get_board_sys_clk() 2021-12-27 16:20:18 -05:00
cds_pci_ft.c pci: freescale: Drop old code 2021-08-05 16:14:36 -04:00
cds_via.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmd_esbc_validate.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
dcu_sii9022a.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
dcu_sii9022a.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
diu_ch7301.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
diu_ch7301.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
eeprom.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
emc2305.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
emc2305.h board: freescale: emc2305: Pass chip_addr to set_fan_speed 2020-09-24 20:57:32 +05:30
fman.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fman.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_chain_of_trust.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fsl_validate.c board: fsl_validate: Fix Double free Issue 2021-11-09 14:43:24 +05:30
i2c_common.c board: freescale: Refactor NXP common mux code 2021-07-20 14:18:04 +05:30
i2c_common.h board: freescale: Refactor NXP common mux code 2021-07-20 14:18:04 +05:30
i2c_mux.c board: freescale: Refactor NXP common mux code 2021-07-20 14:18:04 +05:30
i2c_mux.h board: freescale: Refactor NXP common mux code 2021-07-20 14:18:04 +05:30
ics307_clk.c Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
ics307_clk.h nxp: Migrate CONFIG_DDR_CLK_FREQ to Kconfig 2021-08-31 17:46:37 -04:00
Kconfig Finish CONFIG_VID et al conversion to Kconfig 2021-12-27 08:41:38 -05:00
ls102xa_stream_id.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile Finish CONFIG_VID et al conversion to Kconfig 2021-12-27 08:41:38 -05:00
mc34vr500.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mpc85xx_sleep.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ngpixis.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
ngpixis.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ns_access.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pfuze.c pfuze: Fix the pmic_get() parameter in the DM case 2019-12-27 12:13:11 +01:00
pfuze.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pixis.c global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
pixis.h ppc: Remove MPC8641HPCN board 2021-02-15 10:16:21 -05:00
pq-mds-pib.c ppc: Remove MPC832XEMDS boards 2021-07-07 19:52:24 -04:00
pq-mds-pib.h
qixis.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
qixis.h armv8: lx2162aqds: Add support for LX2162AQDS platform 2020-12-10 13:56:39 +05:30
sdhc_boot.c board: sdhc: Use block layer to read from mmc 2019-11-25 11:54:27 +05:30
sgmii_riser.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sgmii_riser.h
sleep.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sys_eeprom.c WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
via.h
vid.c board: freescale: Refactor NXP common mux code 2021-07-20 14:18:04 +05:30
vid.h arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
vsc3316_3308.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
vsc3316_3308.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zm7300.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
zm7300.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00