summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-02-07 14:50:12 +0100
committerMarek Vasut <marex@denx.de>2021-03-03 04:12:46 +0100
commit628680a99f21f6f60415d9e6d0e4b6adfb873c62 (patch)
treedff593cae9c813f61aaa898a569680f9515680b9 /drivers/ddr/microchip/ddr2.c
parent7f98575b7ba8ee941c5f2875ca01ae1f08bfae35 (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/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions