diff options
author | Stefano Babic <sbabic@denx.de> | 2010-07-26 10:05:05 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2010-09-29 11:24:31 +0200 |
commit | 87d98d3b8ef855c9ce1c09ddb1b7ea884a1d4ec6 (patch) | |
tree | 6a4a2d415760b963d5fc89464f54c4339b9b0abe /arch/arm | |
parent | c4ea142424fc5cb43a2db750cb772e84304e5fb8 (diff) | |
download | u-boot-midas-87d98d3b8ef855c9ce1c09ddb1b7ea884a1d4ec6.tar.gz u-boot-midas-87d98d3b8ef855c9ce1c09ddb1b7ea884a1d4ec6.tar.bz2 u-boot-midas-87d98d3b8ef855c9ce1c09ddb1b7ea884a1d4ec6.zip |
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: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv7/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/syslib.c (renamed from arch/arm/cpu/armv7/omap-common/syslib.c) | 0 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-mx51/sys_proto.h | 1 |
4 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile index ae20299db7..7743fefdbe 100644 --- a/arch/arm/cpu/armv7/Makefile +++ b/arch/arm/cpu/armv7/Makefile @@ -27,6 +27,7 @@ LIB = $(obj)lib$(CPU).a START := start.o COBJS := cpu.o +COBJS += syslib.o SRCS := $(START:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) @@ -44,4 +45,4 @@ include $(SRCTREE)/rules.mk sinclude $(obj).depend -#########################################################################
\ No newline at end of file +######################################################################### diff --git a/arch/arm/cpu/armv7/omap-common/Makefile b/arch/arm/cpu/armv7/omap-common/Makefile index caee7263b1..aedea7b95b 100644 --- a/arch/arm/cpu/armv7/omap-common/Makefile +++ b/arch/arm/cpu/armv7/omap-common/Makefile @@ -28,7 +28,6 @@ LIB = $(obj)libomap-common.a SOBJS := reset.o COBJS := timer.o -COBJS += syslib.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) diff --git a/arch/arm/cpu/armv7/omap-common/syslib.c b/arch/arm/cpu/armv7/syslib.c index f9ed9a307b..f9ed9a307b 100644 --- a/arch/arm/cpu/armv7/omap-common/syslib.c +++ b/arch/arm/cpu/armv7/syslib.c diff --git a/arch/arm/include/asm/arch-mx51/sys_proto.h b/arch/arm/include/asm/arch-mx51/sys_proto.h index bf500a8b32..f687503cad 100644 --- a/arch/arm/include/asm/arch-mx51/sys_proto.h +++ b/arch/arm/include/asm/arch-mx51/sys_proto.h @@ -26,5 +26,6 @@ u32 get_cpu_rev(void); #define is_soc_rev(rev) ((get_cpu_rev() & 0xFF) - rev) +void sdelay(unsigned long); #endif |