|
@@ -33,6 +33,13 @@ ifdef CONFIG_OMAP
|
|
COBJS += gpio.o
|
|
COBJS += gpio.o
|
|
endif
|
|
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
|
|
ifdef CONFIG_SPL_BUILD
|
|
COBJS += spl.o
|
|
COBJS += spl.o
|
|
ifdef CONFIG_SPL_NAND_SUPPORT
|
|
ifdef CONFIG_SPL_NAND_SUPPORT
|
|
@@ -43,6 +50,12 @@ COBJS += spl_mmc.o
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifndef CONFIG_SPL_BUILD
|
|
|
|
+ifdef CONFIG_OMAP44XX
|
|
|
|
+COBJS += mem-common.o
|
|
|
|
+endif
|
|
|
|
+endif
|
|
|
|
+
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
|
|
|
|