All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 27/31] 8xx, mgsuvd: rename board to a more generic name
Date: Wed, 28 Jan 2009 10:40:46 +0100	[thread overview]
Message-ID: <4980281E.2040504@denx.de> (raw)

renaming the "mgsuvd" board port into "km8xx", because there will
come more similar boards from keymile.
Compiling the mgsuvd board with "make mgsuvd_config" remains.

Signed-off-by: Heiko Schocher <hs@denx.de>
---
 Makefile                                           |    8 ++++++--
 board/keymile/{mgsuvd => km8xx}/Makefile           |    2 +-
 board/keymile/{mgsuvd => km8xx}/config.mk          |    0
 board/keymile/{mgsuvd/mgsuvd.c => km8xx/km8xx.c}   |    0
 .../mgsuvd_hdlc_enet.c => km8xx/km8xx_hdlc_enet.c} |    0
 board/keymile/{mgsuvd => km8xx}/u-boot.lds         |    0
 include/configs/{mgsuvd.h => km8xx.h}              |    1 -
 7 files changed, 7 insertions(+), 4 deletions(-)
 rename board/keymile/{mgsuvd => km8xx}/Makefile (98%)
 rename board/keymile/{mgsuvd => km8xx}/config.mk (100%)
 rename board/keymile/{mgsuvd/mgsuvd.c => km8xx/km8xx.c} (100%)
 rename board/keymile/{mgsuvd/mgsuvd_hdlc_enet.c => km8xx/km8xx_hdlc_enet.c} (100%)
 rename board/keymile/{mgsuvd => km8xx}/u-boot.lds (100%)
 rename include/configs/{mgsuvd.h => km8xx.h} (99%)

diff --git a/Makefile b/Makefile
index 8c73586..70d60b5 100644
--- a/Makefile
+++ b/Makefile
@@ -938,8 +938,12 @@ MBX860T_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx

 mgsuvd_config:		unconfig
-	@$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd keymile
-
+	@mkdir -p $(obj)include
+	@{ echo "#define CONFIG_MGSUVD" >>$(obj)include/config.h ; \
+		$(XECHO) "mgsuvd configuration" ; \
+		}
+	@$(MKCONFIG) -a km8xx ppc mpc8xx km8xx keymile
+
 MHPC_config:		unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec

diff --git a/board/keymile/mgsuvd/Makefile b/board/keymile/km8xx/Makefile
similarity index 98%
rename from board/keymile/mgsuvd/Makefile
rename to board/keymile/km8xx/Makefile
index 2c5732d..a6f3241 100644
--- a/board/keymile/mgsuvd/Makefile
+++ b/board/keymile/km8xx/Makefile
@@ -29,7 +29,7 @@ endif
 LIB	= $(obj)lib$(BOARD).a

 COBJS	= $(BOARD).o ../common/common.o ../common/keymile_hdlc_enet.o \
-		mgsuvd_hdlc_enet.o
+		km8xx_hdlc_enet.o

 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
diff --git a/board/keymile/mgsuvd/config.mk b/board/keymile/km8xx/config.mk
similarity index 100%
rename from board/keymile/mgsuvd/config.mk
rename to board/keymile/km8xx/config.mk
diff --git a/board/keymile/mgsuvd/mgsuvd.c b/board/keymile/km8xx/km8xx.c
similarity index 100%
rename from board/keymile/mgsuvd/mgsuvd.c
rename to board/keymile/km8xx/km8xx.c
diff --git a/board/keymile/mgsuvd/mgsuvd_hdlc_enet.c b/board/keymile/km8xx/km8xx_hdlc_enet.c
similarity index 100%
rename from board/keymile/mgsuvd/mgsuvd_hdlc_enet.c
rename to board/keymile/km8xx/km8xx_hdlc_enet.c
diff --git a/board/keymile/mgsuvd/u-boot.lds b/board/keymile/km8xx/u-boot.lds
similarity index 100%
rename from board/keymile/mgsuvd/u-boot.lds
rename to board/keymile/km8xx/u-boot.lds
diff --git a/include/configs/mgsuvd.h b/include/configs/km8xx.h
similarity index 99%
rename from include/configs/mgsuvd.h
rename to include/configs/km8xx.h
index 66bcc73..9088d6a 100644
--- a/include/configs/mgsuvd.h
+++ b/include/configs/km8xx.h
@@ -34,7 +34,6 @@
  */

 #define CONFIG_MPC866		1	/* This is a MPC866 CPU		*/
-#define CONFIG_MGSUVD		1	/* ...on a mgsuvd board	*/
 #define CONFIG_HOSTNAME		mgsuvd

 /* include common defines/options for all Keymile boards */
-- 
1.6.0.6

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

             reply	other threads:[~2009-01-28  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28  9:40 Heiko Schocher [this message]
2009-01-28 20:33 ` [U-Boot] [PATCH 27/31] 8xx, mgsuvd: rename board to a more generic name Wolfgang Denk

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=4980281E.2040504@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.