From: Chandan Nath Date: Fri, 14 Oct 2011 02:58:25 +0000 (+0000) Subject: ARM:AM33XX: Added timer support X-Git-Tag: v2011.12-rc1~343^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0f4b5ff50b1ee8db5caceed6bbf464880e33274;p=u-boot ARM:AM33XX: Added timer support This patch adds timer support for AM33xx platform. Signed-off-by: Chandan Nath Signed-off-by: Sandeep Paulraj --- diff --git a/Makefile b/Makefile index 684cdb6aaf..9ef33f9fd1 100644 --- a/Makefile +++ b/Makefile @@ -289,6 +289,9 @@ LIBS += lib/libfdt/libfdt.o LIBS += api/libapi.o LIBS += post/libpost.o +ifeq ($(SOC),am33xx) +LIBS += $(CPUDIR)/omap-common/libomap-common.o +endif ifeq ($(SOC),omap3) LIBS += $(CPUDIR)/omap-common/libomap-common.o endif diff --git a/arch/arm/cpu/armv7/omap-common/Makefile b/arch/arm/cpu/armv7/omap-common/Makefile index 0b96b4789f..1dee81f22a 100644 --- a/arch/arm/cpu/armv7/omap-common/Makefile +++ b/arch/arm/cpu/armv7/omap-common/Makefile @@ -29,7 +29,9 @@ SOBJS := reset.o COBJS := timer.o COBJS += utils.o +ifdef CONFIG_OMAP COBJS += gpio.o +endif ifdef CONFIG_SPL_BUILD COBJS += spl.o