Răsfoiți Sursa

ARM926EJ-S: relocate OMAP specific 'cpuinfo.c' into OMAP directory

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

Signed-off-by: Roman Mashak <romez777@gmail.com>
Roman Mashak 16 ani în urmă
părinte
comite
e352495318
3 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      cpu/arm926ejs/Makefile
  2. 1 1
      cpu/arm926ejs/omap/Makefile
  3. 0 0
      cpu/arm926ejs/omap/cpuinfo.c

+ 1 - 1
cpu/arm926ejs/Makefile

@@ -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))

+ 1 - 1
cpu/arm926ejs/omap/Makefile

@@ -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)

+ 0 - 0
cpu/arm926ejs/cpuinfo.c → cpu/arm926ejs/omap/cpuinfo.c