summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap-common/Makefile
diff options
context:
space:
mode:
authorSricharan <r.sricharan@ti.com>2011-11-15 14:49:50 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-15 21:25:50 (GMT)
commitce170beeb74ef44e60f6be0204782be564910760 (patch)
tree5f9c6a34f88c7db1f93caaf5d5a1ff73d1954c0f /arch/arm/cpu/armv7/omap-common/Makefile
parent24ccca5eb9e25474e273c0f6dd70220534ce1746 (diff)
downloadu-boot-ce170beeb74ef44e60f6be0204782be564910760.tar.xz
omap4: make omap4 code common for future reuse
Much of omap4 soc support code can be reused for omap5. Move them to the omap-common directory to facilitate this. Signed-off-by: sricharan <r.sricharan@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/Makefile')
-rw-r--r--arch/arm/cpu/armv7/omap-common/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/Makefile b/arch/arm/cpu/armv7/omap-common/Makefile
index 1dee81f..ea2545d 100644
--- a/arch/arm/cpu/armv7/omap-common/Makefile
+++ b/arch/arm/cpu/armv7/omap-common/Makefile
@@ -33,6 +33,13 @@ ifdef CONFIG_OMAP
COBJS += gpio.o
endif
+ifdef CONFIG_OMAP44XX
+COBJS += hwinit-common.o
+COBJS += clocks-common.o
+COBJS += emif-common.o
+SOBJS += lowlevel_init.o
+endif
+
ifdef CONFIG_SPL_BUILD
COBJS += spl.o
ifdef CONFIG_SPL_NAND_SUPPORT
@@ -43,6 +50,12 @@ COBJS += spl_mmc.o
endif
endif
+ifndef CONFIG_SPL_BUILD
+ifdef CONFIG_OMAP44XX
+COBJS += mem-common.o
+endif
+endif
+
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))