diff options
author | Pali Rohár <pali@kernel.org> | 2021-02-07 14:50:12 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-03-03 04:12:46 +0100 |
commit | 628680a99f21f6f60415d9e6d0e4b6adfb873c62 (patch) | |
tree | dff593cae9c813f61aaa898a569680f9515680b9 /drivers/ddr/marvell/a38x/ddr3_training_leveling.c | |
parent | 7f98575b7ba8ee941c5f2875ca01ae1f08bfae35 (diff) |
arm: omap3: Compile lowlevel_init() function only when it is used
Function lowlevel_init() is called only from cpu_init_crit() and this
function is wrapped into #if .. #endif section. So compile also
lowlevel_init() function under same #if condition.
Function cpy_clk_code() uses lowlevel_init symbol to get address where
go_to_speed code ends. As this symbol is not available anymore when
compiling with CONFIG_SKIP_LOWLEVEL_INIT, defines a new label
go_to_speed_end at the place where go_to_speed code ends.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_training_leveling.c')
0 files changed, 0 insertions, 0 deletions