Commit 3ec018bb44bca64873c934be87c182e5fea0290b
Committed by
Lokesh Vutla
1 parent
93d97635c3
Exists in
v2015.07-smarct4x
and in
3 other branches
ARM: AM33xx: Push all the rtc_only related functions under LOWLEVEL_INIT macro
All the rtc_only related functions are not needed for the second stage of the bootloader hence pushing all the code under LOWLEVEL_INIT macro. This fixes compile time warning when built with am335x_evm_defconfig. Signed-off-by: Keerthy <j-keerthy@ti.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/arm/cpu/armv7/am33xx/board.c
... | ... | @@ -212,6 +212,7 @@ |
212 | 212 | return 0; |
213 | 213 | } |
214 | 214 | |
215 | +#ifndef CONFIG_SKIP_LOWLEVEL_INIT | |
215 | 216 | |
216 | 217 | #if defined(CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC) || \ |
217 | 218 | (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_RTC_ONLY_SUPPORT)) |
... | ... | @@ -253,7 +254,6 @@ |
253 | 254 | } |
254 | 255 | #endif |
255 | 256 | |
256 | -#ifndef CONFIG_SKIP_LOWLEVEL_INIT | |
257 | 257 | /* |
258 | 258 | * In the case of non-SPL based booting we'll want to call these |
259 | 259 | * functions a tiny bit later as it will require gd to be set and cleared |