Skip to contentSkip to conversation

ARM926EJ-S: relocate OMAP specific 'cpuinfo.c' into OMAP directory (fixed patch)

PATCH New Roman Mashak 1 participant 1 message Oct 22, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM926EJ-S: relocate OMAP specific 'cpuinfo.c' into OMAP directory (fixed patch)

OMAP identification is implemented in 'cpuinfo.c' and located in ARM926EJ-S directory. It makes sense to place this file in OMAP specific subdirectory, i.e. cpu/arm926ejs/omap

---
 cpu/arm926ejs/Makefile       |    2 +-
 cpu/arm926ejs/cpuinfo.c      |  242 ------------------------------------------
 cpu/arm926ejs/omap/Makefile  |    2 +-
 cpu/arm926ejs/omap/cpuinfo.c |  242 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 244 insertions(+), 244 deletions(-)
cpu/arm926ejs/Makefile +1 -1
index 0facce4..d5ac7d3 100644
@@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk
 LIB	= $(obj)lib$(CPU).a
 
 START	= start.o
-COBJS	= interrupts.o cpu.o cpuinfo.o
+COBJS	= interrupts.o cpu.o
 
 SRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
cpu/arm926ejs/cpuinfo.c deleted +0 -242

242 lines not on this page · raw message

cpu/arm926ejs/omap/Makefile +1 -1
index c335d5c..74aea74 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB	= $(obj)lib$(SOC).a
 
-COBJS	= timer.o
+COBJS	= timer.o cpuinfo.o
 SOBJS	= reset.o
 
 SRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
cpu/arm926ejs/omap/cpuinfo.c new file +242 -0

242 lines not on this page · raw message

Signature · 1 line
1.4.4.4