]> git.baikalelectronics.ru Git - uboot.git/commit
CONFIG_SYS_CLK_FREQ: Consistently be static or get_board_sys_clk()
authorTom Rini <trini@konsulko.com>
Tue, 14 Dec 2021 18:36:39 +0000 (13:36 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:18 +0000 (16:20 -0500)
commit6bb7187f7815c1a884dc257bf3530b7f7e42ea39
tree092fa1c26bdbbb3a5bfd6176ae780c1be2c17fe2
parentc396ba2a9cfed7bb21130440a08663b987b80b37
CONFIG_SYS_CLK_FREQ: Consistently be static or get_board_sys_clk()

This CONFIG option is used in one of two ways.  The first way is that it
is defined to a static value, of an unsigned long size.  The second way
is that it is defined to something, typically a function, to determine
this value at run time.

However, in a few cases that function returns a static value.  Change
that to using the static value directly.

In the case of using something at run time, convert everything to using
a function of the same name and prototype.  This will allow for further
cleanups.

Finally, we have a few cases where the function is just not used, so
drop it.

Signed-off-by: Tom Rini <trini@konsulko.com>
35 files changed:
arch/arm/mach-davinci/cpu.c
board/cadence/xtfpga/xtfpga.c
board/freescale/common/cadmus.c
board/freescale/common/cadmus.h
board/freescale/ls1021aqds/ls1021aqds.c
board/freescale/ls1088a/ls1088a.c
board/freescale/p2041rdb/p2041rdb.c
board/freescale/t102xrdb/spl.c
board/freescale/t102xrdb/t102xrdb.c
board/freescale/t104xrdb/spl.c
board/freescale/t208xrdb/spl.c
board/freescale/t208xrdb/t208xrdb.c
board/freescale/t4rdb/spl.c
board/keymile/kmcent2/kmcent2.c
board/xes/common/fsl_8xxx_clk.c
include/configs/MPC8548CDS.h
include/configs/P2041RDB.h
include/configs/T102xRDB.h
include/configs/T208xRDB.h
include/configs/T4240RDB.h
include/configs/alt.h
include/configs/blanche.h
include/configs/condor.h
include/configs/da850evm.h
include/configs/eagle.h
include/configs/falcon.h
include/configs/gose.h
include/configs/koelsch.h
include/configs/lager.h
include/configs/legoev3.h
include/configs/omapl138_lcdk.h
include/configs/porter.h
include/configs/silk.h
include/configs/stout.h
include/configs/xtfpga.h