[PATCH 3/4] omap3evm: move to arch/arm/boards/omap3evm

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Jan 14 09:51:07 EST 2012


this will allow to create it's own env/config

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 arch/arm/Makefile                                  |    2 +-
 arch/arm/boards/omap/Makefile                      |    1 -
 arch/arm/boards/omap3evm/Makefile                  |    1 +
 .../{omap/board-omap3evm.c => omap3evm/board.c}    |    0
 arch/arm/boards/omap3evm/config.h                  |   21 ++++++++++++++++++++
 5 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/boards/omap3evm/Makefile
 rename arch/arm/boards/{omap/board-omap3evm.c => omap3evm/board.c} (100%)
 create mode 100644 arch/arm/boards/omap3evm/config.h

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index bba5d6a..a65c72e 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -89,7 +89,7 @@ board-$(CONFIG_MACH_NOMADIK_8815NHK)		:= nhk8815
 board-$(CONFIG_MACH_NXDB500)			:= netx
 board-$(CONFIG_MACH_OMAP343xSDP)		:= omap
 board-$(CONFIG_MACH_BEAGLE)			:= beagle
-board-$(CONFIG_MACH_OMAP3EVM)			:= omap
+board-$(CONFIG_MACH_OMAP3EVM)			:= omap3evm
 board-$(CONFIG_MACH_PANDA)			:= panda
 board-$(CONFIG_MACH_PCM049)			:= pcm049
 board-$(CONFIG_MACH_PCA100)			:= phycard-i.MX27
diff --git a/arch/arm/boards/omap/Makefile b/arch/arm/boards/omap/Makefile
index b8380df..f5652ad 100644
--- a/arch/arm/boards/omap/Makefile
+++ b/arch/arm/boards/omap/Makefile
@@ -21,4 +21,3 @@
 # MA 02111-1307 USA
 
 obj-$(CONFIG_MACH_OMAP343xSDP) += board-sdp343x.o
-obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
diff --git a/arch/arm/boards/omap3evm/Makefile b/arch/arm/boards/omap3evm/Makefile
new file mode 100644
index 0000000..dcfc293
--- /dev/null
+++ b/arch/arm/boards/omap3evm/Makefile
@@ -0,0 +1 @@
+obj-y += board.o
diff --git a/arch/arm/boards/omap/board-omap3evm.c b/arch/arm/boards/omap3evm/board.c
similarity index 100%
rename from arch/arm/boards/omap/board-omap3evm.c
rename to arch/arm/boards/omap3evm/board.c
diff --git a/arch/arm/boards/omap3evm/config.h b/arch/arm/boards/omap3evm/config.h
new file mode 100644
index 0000000..b908fc0
--- /dev/null
+++ b/arch/arm/boards/omap3evm/config.h
@@ -0,0 +1,21 @@
+/**
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#endif	/* __CONFIG_H */
-- 
1.7.7




More information about the barebox mailing list