mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/4] omap343xdsp: move to arch/arm/boards/omap343xdsp
Date: Sat, 14 Jan 2012 15:51:08 +0100	[thread overview]
Message-ID: <1326552668-8859-4-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1326552668-8859-1-git-send-email-plagnioj@jcrosoft.com>

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

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/Makefile                                  |    2 +-
 arch/arm/boards/omap/Makefile                      |   23 --------------------
 arch/arm/boards/omap/env/bin/init                  |    1 -
 arch/arm/boards/omap343xdsp/Makefile               |    1 +
 .../{omap/board-sdp343x.c => omap343xdsp/board.c}  |    0
 arch/arm/boards/{omap => omap343xdsp}/config.h     |   22 ++++--------------
 6 files changed, 7 insertions(+), 42 deletions(-)
 delete mode 100644 arch/arm/boards/omap/Makefile
 delete mode 100644 arch/arm/boards/omap/env/bin/init
 create mode 100644 arch/arm/boards/omap343xdsp/Makefile
 rename arch/arm/boards/{omap/board-sdp343x.c => omap343xdsp/board.c} (100%)
 rename arch/arm/boards/{omap => omap343xdsp}/config.h (55%)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index a65c72e..5d7c344 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -87,7 +87,7 @@ board-$(CONFIG_MACH_MMCCPU)			:= mmccpu
 board-$(CONFIG_MACH_MX1ADS)			:= mx1ads
 board-$(CONFIG_MACH_NOMADIK_8815NHK)		:= nhk8815
 board-$(CONFIG_MACH_NXDB500)			:= netx
-board-$(CONFIG_MACH_OMAP343xSDP)		:= omap
+board-$(CONFIG_MACH_OMAP343xSDP)		:= omap343xdsp
 board-$(CONFIG_MACH_BEAGLE)			:= beagle
 board-$(CONFIG_MACH_OMAP3EVM)			:= omap3evm
 board-$(CONFIG_MACH_PANDA)			:= panda
diff --git a/arch/arm/boards/omap/Makefile b/arch/arm/boards/omap/Makefile
deleted file mode 100644
index f5652ad..0000000
--- a/arch/arm/boards/omap/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# OMAP Board Specific Makefile
-#
-# (C) Copyright 2008
-# OMAP Architecture specific features
-# Texas Instruments, <www.ti.com>
-# Nishanth Menon <x0nishan@ti.com>
-#
-# 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
-
-obj-$(CONFIG_MACH_OMAP343xSDP) += board-sdp343x.o
diff --git a/arch/arm/boards/omap/env/bin/init b/arch/arm/boards/omap/env/bin/init
deleted file mode 100644
index 224a6b4..0000000
--- a/arch/arm/boards/omap/env/bin/init
+++ /dev/null
@@ -1 +0,0 @@
-# Dummy Init environment script
diff --git a/arch/arm/boards/omap343xdsp/Makefile b/arch/arm/boards/omap343xdsp/Makefile
new file mode 100644
index 0000000..dcfc293
--- /dev/null
+++ b/arch/arm/boards/omap343xdsp/Makefile
@@ -0,0 +1 @@
+obj-y += board.o
diff --git a/arch/arm/boards/omap/board-sdp343x.c b/arch/arm/boards/omap343xdsp/board.c
similarity index 100%
rename from arch/arm/boards/omap/board-sdp343x.c
rename to arch/arm/boards/omap343xdsp/board.c
diff --git a/arch/arm/boards/omap/config.h b/arch/arm/boards/omap343xdsp/config.h
similarity index 55%
rename from arch/arm/boards/omap/config.h
rename to arch/arm/boards/omap343xdsp/config.h
index 29d2ee2..b908fc0 100644
--- a/arch/arm/boards/omap/config.h
+++ b/arch/arm/boards/omap343xdsp/config.h
@@ -1,17 +1,4 @@
 /**
- * @file
- * @brief provide a wrapper for standard malloc and stack size defines
- *
- * FileName: arch/arm/boards/omap/config.h
- *
- * Standard defines should be configurable for us to move Stack and malloc
- * areas around this defines some basics for that
- */
-/*
- * (C) Copyright 2006-2008
- * Texas Instruments, <www.ti.com>
- * Nishanth Menon <x0nishan@ti.com>
- *
  * 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
@@ -19,7 +6,7 @@
  *
  * 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
+ * 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
@@ -27,7 +14,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  * MA 02111-1307 USA
  */
-#ifndef __MACH_OMAP_CONFIG_H
-#define __MACH_OMAP_CONFIG_H
 
-#endif /* __MACH_OMAP_CONFIG_H */
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#endif	/* __CONFIG_H */
-- 
1.7.7


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2012-01-14 14:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14 14:51 [PATCH 1/4] omap3: move platform lowlevel init to mach-omap Jean-Christophe PLAGNIOL-VILLARD
2012-01-14 14:51 ` [PATCH 2/4] beagle: move to arch/arm/boards/beagle Jean-Christophe PLAGNIOL-VILLARD
2012-01-14 14:51 ` [PATCH 3/4] omap3evm: move to arch/arm/boards/omap3evm Jean-Christophe PLAGNIOL-VILLARD
2012-01-14 14:51 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-01-16 11:20   ` [PATCH 4/4] omap343xdsp: move to arch/arm/boards/omap343xdsp Premi, Sanjeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326552668-8859-4-git-send-email-plagnioj@jcrosoft.com \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox