Skip to content

Commit c37baa0

Browse files
glneotmlind
authored andcommitted
ARM: OMAP2+: Fix undefined reference to omap_secure_init
omap_secure_init() is now called from all OMAP2+ platforms during their init_early() call. This function is in omap-secure.o so include that in the build for these platforms. Fixes: db71189 ("ARM: OMAP2+: Add omap_secure_init callback hook for secure initialization") Reported-by: Dan Murphy <[email protected]> Signed-off-by: Andrew F. Davis <[email protected]> Tested-by: Dan Murphy <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 8ab871f commit c37baa0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arm/mach-omap2/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
1616
clock-common = clock.o
1717
secure-common = omap-smc.o omap-secure.o
1818

19-
obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
19+
obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
2020
obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
2121
obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common)
22-
obj-$(CONFIG_SOC_AM33XX) += $(hwmod-common)
23-
obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common)
22+
obj-$(CONFIG_SOC_AM33XX) += $(hwmod-common) $(secure-common)
23+
obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common)
2424
obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common)
2525
obj-$(CONFIG_SOC_DRA7XX) += $(hwmod-common) $(secure-common)
2626

0 commit comments

Comments
 (0)