Skip to content
Snippets Groups Projects
Commit 87d98d3b authored by Stefano Babic's avatar Stefano Babic
Browse files

ARM: Use syslib functions for all CORTEXA8


The OMAP3 cpu directory contains a syslib file with some utilities
that can be shared by all targets using arm cortexa8 processors,
not only OMAP.

Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
parent c4ea1424
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ LIB = $(obj)lib$(CPU).a ...@@ -27,6 +27,7 @@ LIB = $(obj)lib$(CPU).a
START := start.o START := start.o
COBJS := cpu.o COBJS := cpu.o
COBJS += syslib.o
SRCS := $(START:.o=.S) $(COBJS:.o=.c) SRCS := $(START:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS)) OBJS := $(addprefix $(obj),$(COBJS))
...@@ -44,4 +45,4 @@ include $(SRCTREE)/rules.mk ...@@ -44,4 +45,4 @@ include $(SRCTREE)/rules.mk
sinclude $(obj).depend sinclude $(obj).depend
######################################################################### #########################################################################
\ No newline at end of file
...@@ -28,7 +28,6 @@ LIB = $(obj)libomap-common.a ...@@ -28,7 +28,6 @@ LIB = $(obj)libomap-common.a
SOBJS := reset.o SOBJS := reset.o
COBJS := timer.o COBJS := timer.o
COBJS += syslib.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
......
...@@ -26,5 +26,6 @@ ...@@ -26,5 +26,6 @@
u32 get_cpu_rev(void); u32 get_cpu_rev(void);
#define is_soc_rev(rev) ((get_cpu_rev() & 0xFF) - rev) #define is_soc_rev(rev) ((get_cpu_rev() & 0xFF) - rev)
void sdelay(unsigned long);
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment