Skip to contentSkip to conversation

TI: DaVinci: Prepare for da850 support

PATCH Superseded Sudhakar Rajashekhara 2 participants 2 messages Jun 1, 2010 Kbuild

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 TI: DaVinci: Prepare for da850 support

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.

---
 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%)
Makefile +1 -1
index c26e491..1fb4d21 100644
@@ -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
board/davinci/da8xxevm/Makefile renamed from board/davinci/da830evm/Makefile +3 -1
similarity index 94%
rename from board/davinci/da830evm/Makefile
rename to board/davinci/da8xxevm/Makefile
index 02636fa..20f4915 100644
@@ -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))
board/davinci/da8xxevm/config.mk renamed from board/davinci/da830evm/config.mk +0 -0
similarity index 100%
rename from board/davinci/da830evm/config.mk
rename to board/davinci/da8xxevm/config.mk
board/davinci/da8xxevm/da830evm.c renamed from board/davinci/da830evm/da830evm.c +0 -0
similarity index 100%
rename from board/davinci/da830evm/da830evm.c
rename to board/davinci/da8xxevm/da830evm.c
Signature · 1 line
1.5.6
#1 lore raw

PATCH v3 1/2 TI: DaVinci: Prepare for da850 support

Dear Sudhakar Rajashekhara,

Quoted 8 lines · In message <[email protected]> you wrote:

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.

Quoted 9 lines
---
 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%)

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Anarchy may not be the best form of government, but it's better  than
no government at all.