ARM: Use syslib functions for all CORTEXA8
PATCH 1/1 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 <[email protected]>
--- arch/arm/cpu/armv7/Makefile | 3 +- arch/arm/cpu/armv7/omap3/Makefile | 1 - arch/arm/cpu/armv7/omap3/syslib.c | 72 ---------------------------- arch/arm/cpu/armv7/syslib.c | 69 ++++++++++++++++++++++++++ arch/arm/include/asm/arch-mx51/sys_proto.h | 1 + 5 files changed, 72 insertions(+), 74 deletions(-) delete mode 100644 arch/arm/cpu/armv7/omap3/syslib.c create mode 100644 arch/arm/cpu/armv7/syslib.c
arch/arm/cpu/armv7/Makefile +2 -1
@@ -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 -######################################################################### +#########################################################################
arch/arm/cpu/armv7/omap3/Makefile +0 -1
@@ -32,7 +32,6 @@ COBJS += board.o COBJS += clock.o COBJS += gpio.o COBJS += mem.o -COBJS += syslib.o COBJS += sys_info.o COBJS-$(CONFIG_EMIF4) += emif4.o
arch/arm/cpu/armv7/omap3/syslib.c deleted +0 -72
72 lines not on this page · raw message
arch/arm/cpu/armv7/syslib.c new file +69 -0
69 lines not on this page · raw message
arch/arm/include/asm/arch-mx51/sys_proto.h +1 -0
@@ -26,5 +26,6 @@u32 get_cpu_rev (void );#define is_soc_rev (rev) ((get_cpu_rev() & 0xFF) - rev) +void sdelay (unsigned long );#endif
Signature · 1 line
1.6.3.3