[PATCH] ARM: omap2: fix am43xx build without L2X0

Arnd Bergmann arnd at arndb.de
Thu Apr 5 02:07:09 PDT 2018


On Wed, Apr 4, 2018 at 7:12 PM, Tony Lindgren <tony at atomide.com> wrote:
> * Arnd Bergmann <arnd at arndb.de> [180404 10:27]:
>> When CONFIG_CACHE_L2X0 is disabled, the am43xx specific suspend
>> implemnentation fails to link:
>>
>> arch/arm/mach-omap2/sleep43xx.o: In function `get_l2cache_base':
>> (.text+0x180): undefined reference to `omap4_get_l2cache_base'
>>
>> This adds an #ifdef protection around the code, like we do for am44xx.
>>
>> Fixes: 41d37e61372f ("ARM: OMAP2+: Introduce low-level suspend code for AM43XX")
>> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
>
> Thanks, looks OK to me:
>
> Acked-by: Tony Lindgren <tony at atomide.com>

Applied to next/soc.

     Arnd



More information about the linux-arm-kernel mailing list