summaryrefslogtreecommitdiff
path: root/lib_sh/Makefile
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2008-11-20 16:44:42 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-12-10 23:11:35 +0900
commite9d5f35497885b3c65d494d09a525d443dcccd3b (patch)
treee901d5beed8b8faa66bbe7b797db79fde5402a6a /lib_sh/Makefile
parentb81786cff476c41e332eaeb679158f6527cd67d4 (diff)
downloadu-boot-imx-e9d5f35497885b3c65d494d09a525d443dcccd3b.zip
u-boot-imx-e9d5f35497885b3c65d494d09a525d443dcccd3b.tar.gz
u-boot-imx-e9d5f35497885b3c65d494d09a525d443dcccd3b.tar.bz2
sh: Update sh timer function
Change to write/readX function and fix timer problem. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'lib_sh/Makefile')
-rw-r--r--lib_sh/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib_sh/Makefile b/lib_sh/Makefile
index 4034381..f7c6479 100644
--- a/lib_sh/Makefile
+++ b/lib_sh/Makefile
@@ -26,7 +26,11 @@ SOBJS-y +=
COBJS-y += board.o
COBJS-y += bootm.o
-# COBJS-y += time.o
+ifeq ($(CONFIG_SH2),y)
+COBJS-y += time_sh2.o
+else
+COBJS-y += time.o
+endif
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))