[U-Boot] [PATCH v2 4/5] ARM:AM33XX: Added timer support
Chandan Nath
chandan.nath at ti.com
Fri Oct 14 14:58:25 CEST 2011
This patch adds timer support for AM33xx platform.
Signed-off-by: Chandan Nath <chandan.nath at ti.com>
---
Changes since v1:
- Modification of omap-common/timer.c is removed.
Makefile | 3 +++
arch/arm/cpu/armv7/omap-common/Makefile | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 77140eb..60b285c 100644
--- a/Makefile
+++ b/Makefile
@@ -279,6 +279,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 ea9f8ec..7311591 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
--
1.7.1
More information about the U-Boot
mailing list