]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: AM43x: resolve SMP related build error
authorMohammed, Afzal <afzal@ti.com>
Mon, 24 Jun 2013 08:13:45 +0000 (08:13 +0000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 24 Jun 2013 14:11:21 +0000 (16:11 +0200)
commit22fe3b89695d0d53ed7f7ccd295b7063dfec42d3
tree454bc0a8b397644a4ea2b657a1242613b413f351
parent4de1236010c4649420a6fd87051ddc3e1fa5cb91
ARM: OMAP2+: AM43x: resolve SMP related build error

If AM43x and SMP is selected, OMAP4 & OMAP5 deselected, build error as
follows,

arch/arm/mach-omap2/built-in.o: In function `scu_gp_set':
arch/arm/mach-omap2/sleep44xx.S:131: undefined reference to `omap4_get_scu_base'
arch/arm/mach-omap2/sleep44xx.S:132: undefined reference to `scu_power_mode'
arch/arm/mach-omap2/built-in.o: In function `scu_gp_clear':
arch/arm/mach-omap2/sleep44xx.S:227: undefined reference to `omap4_get_scu_base'
arch/arm/mach-omap2/sleep44xx.S:229: undefined reference to `scu_power_mode'

Resolve it by building sleep44xx.S only for OMAP4 & OMAP5.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-omap2/Makefile