[U-Boot] [PATCH v2 1/2] TI: DaVinci: Prepare for da850 support

Sudhakar Rajashekhara sudhakar.raj at ti.com
Fri May 21 07:39:01 CEST 2010


DA850/OMAP-L138 is a new SoC from Texas Instruments
(http://focus.ti.com/docs/prod/folders/print/omap-l138.html).
This SoC is similar to DA830/OMAP-L137 in many aspects. Hence
rename the da830 specific files and folders to da8xx to
accommodate DA850/OMAP-L138.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj at ti.com>
---
 Makefile                                        |    2 +-
 board/davinci/{da830evm => da8xxevm}/Makefile   |    4 +++-
 board/davinci/{da830evm => da8xxevm}/config.mk  |    0 
 board/davinci/{da830evm => da8xxevm}/da830evm.c |    0 
 4 files changed, 4 insertions(+), 2 deletions(-)
 rename board/davinci/{da830evm => da8xxevm}/Makefile (94%)
 rename board/davinci/{da830evm => da8xxevm}/config.mk (100%)
 rename board/davinci/{da830evm => da8xxevm}/da830evm.c (100%)

diff --git a/Makefile b/Makefile
index 2d96574..3668cda 100644
--- a/Makefile
+++ b/Makefile
@@ -2917,7 +2917,7 @@ cp1026_config: unconfig
 	@board/armltd/integrator/split_by_variant.sh cp $@
 
 da830evm_config:	unconfig
-	@$(MKCONFIG) $(@:_config=) arm arm926ejs da830evm davinci davinci
+	@$(MKCONFIG) $(@:_config=) arm arm926ejs da8xxevm davinci davinci
 
 davinci_dvevm_config :	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm926ejs dvevm davinci davinci
diff --git a/board/davinci/da830evm/Makefile b/board/davinci/da8xxevm/Makefile
similarity index 94%
rename from board/davinci/da830evm/Makefile
rename to board/davinci/da8xxevm/Makefile
index 02636fa..20f4915 100644
--- a/board/davinci/da830evm/Makefile
+++ b/board/davinci/da8xxevm/Makefile
@@ -27,7 +27,9 @@ include $(TOPDIR)/config.mk
 
 LIB	= $(obj)lib$(BOARD).a
 
-COBJS	:= da830evm.o
+COBJS-$(CONFIG_MACH_DAVINCI_DA830_EVM)	+= da830evm.o
+
+COBJS   := $(sort $(COBJS-y))
 
 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
diff --git a/board/davinci/da830evm/config.mk b/board/davinci/da8xxevm/config.mk
similarity index 100%
rename from board/davinci/da830evm/config.mk
rename to board/davinci/da8xxevm/config.mk
diff --git a/board/davinci/da830evm/da830evm.c b/board/davinci/da8xxevm/da830evm.c
similarity index 100%
rename from board/davinci/da830evm/da830evm.c
rename to board/davinci/da8xxevm/da830evm.c
-- 
1.5.6



More information about the U-Boot mailing list