[U-Boot] [PATCH v4] TI: DaVinci: Prepare for da850 support
Sudhakar Rajashekhara
sudhakar.raj at ti.com
Tue Jun 8 10:35:12 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>
Acked-by: Ben Gardiner <bengardiner at nanometrics.ca>
Reviewed-by: Wolfgang Denk <wd at denx.de>
---
Makefile | 2 +-
board/davinci/{da830evm => da8xxevm}/Makefile | 5 ++++-
board/davinci/{da830evm => da8xxevm}/common.c | 0
board/davinci/{da830evm => da8xxevm}/common.h | 0
board/davinci/{da830evm => da8xxevm}/config.mk | 0
board/davinci/{da830evm => da8xxevm}/da830evm.c | 0
6 files changed, 5 insertions(+), 2 deletions(-)
rename board/davinci/{da830evm => da8xxevm}/Makefile (93%)
rename board/davinci/{da830evm => da8xxevm}/common.c (100%)
rename board/davinci/{da830evm => da8xxevm}/common.h (100%)
rename board/davinci/{da830evm => da8xxevm}/config.mk (100%)
rename board/davinci/{da830evm => da8xxevm}/da830evm.c (100%)
diff --git a/Makefile b/Makefile
index c26e491..1fb4d21 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 93%
rename from board/davinci/da830evm/Makefile
rename to board/davinci/da8xxevm/Makefile
index ee00057..56047dc 100644
--- a/board/davinci/da830evm/Makefile
+++ b/board/davinci/da8xxevm/Makefile
@@ -27,7 +27,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := da830evm.o common.o
+COBJS-y += common.o
+COBJS-$(CONFIG_MACH_DAVINCI_DA830_EVM) += da830evm.o
+
+COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
diff --git a/board/davinci/da830evm/common.c b/board/davinci/da8xxevm/common.c
similarity index 100%
rename from board/davinci/da830evm/common.c
rename to board/davinci/da8xxevm/common.c
diff --git a/board/davinci/da830evm/common.h b/board/davinci/da8xxevm/common.h
similarity index 100%
rename from board/davinci/da830evm/common.h
rename to board/davinci/da8xxevm/common.h
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