8xx, mgsuvd: rename board to a more generic name
PATCH v2 5/6 8xx, mgsuvd: rename board to a more generic name
renaming the "mgsuvd" board port into "km8xx", because there come more similar boards from keymile. Compiling the mgsuvd board with "make mgsuvd_config" remains.
Signed-off-by Heiko Schocher <[email protected]>
---
Makefile | 2 +-
board/keymile/common/common.c | 2 +-
board/keymile/common/keymile_hdlc_enet.h | 2 +-
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/commproc.h | 8 +-
include/configs/km8xx.h | 317 ++++++++++++++++++++
include/configs/mgsuvd.h | 285 +-----------------
11 files changed, 327 insertions(+), 291 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%)
create mode 100644 include/configs/km8xx.hMakefile +1 -1
@@ -938,7 +938,7 @@ MBX860T_config: unconfig @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx mgsuvd_config: unconfig - @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd keymile + @$(MKCONFIG) $(@:_config=) ppc mpc8xx km8xx keymile MHPC_config: unconfig @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
board/keymile/common/common.c +1 -1
@@ -390,7 +390,7 @@ static void setports (int gpio)#endif #endif -#if defined(CONFIG_MGSUVD ) +#if defined(CONFIG_KM8XX )static void set_sda (int state) {I2C_SDA (state);
board/keymile/common/keymile_hdlc_enet.h +1 -1
@@ -25,7 +25,7 @@#define _KEYMILE_HDLC_ENET_H_/* Unfortuantely, we have do this to get the flag defines in the cbd_t */ -#ifdef CONFIG_MGSUVD +#ifdef CONFIG_KM8XX #include <commproc.h> #endif #ifdef CONFIG_MGCOGE
board/keymile/km8xx/Makefile renamed from board/keymile/mgsuvd/Makefile +1 -1
@@ -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))
board/keymile/km8xx/config.mk renamed from board/keymile/mgsuvd/config.mk +0 -0
board/keymile/km8xx/km8xx.c renamed from board/keymile/mgsuvd/mgsuvd.c +0 -0
board/keymile/km8xx/km8xx_hdlc_enet.c renamed from board/keymile/mgsuvd/mgsuvd_hdlc_enet.c +0 -0
board/keymile/km8xx/u-boot.lds renamed from board/keymile/mgsuvd/u-boot.lds +0 -0
include/commproc.h +4 -4
@@ -1122,11 +1122,11 @@ typedef struct scc_enet {#define SICR_ENET_CLKRT ((uint)0x0000003d)#endif /* CONFIG_MBX */ -/*** MGSUVD *********************************************************/ +/*** KM8XX *********************************************************/ -/* The MGSUVD Service Module uses SCC3 for Ethernet */ +/* The KM8XX Service Module uses SCC3 for Ethernet */ -#ifdef CONFIG_MGSUVD +#ifdef CONFIG_KM8XX #define PROFF_ENET PROFF_SCC3/* Ethernet on SCC3 */ #define CPM_CR_ENET CPM_CR_CH_SCC3#define SCC_ENET 2
@@ -1145,7 +1145,7 @@ typedef struct scc_enet {*/ #define SICR_ENET_MASK ((uint)0x00FF0000)#define SICR_ENET_CLKRT ((uint)0x00250000) -#endif /* CONFIG_MGSUVD */ +#endif /* CONFIG_KM8XX */ /*** MHPC ********************************************************/
include/configs/km8xx.h new file +317 -0
317 lines not on this page · raw message
include/configs/mgsuvd.h +2 -283
294 lines not on this page · raw message
Signature · 5 lines
1.6.0.6 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Wolfgang Denk
AppliedPATCH v2 5/6 8xx, mgsuvd: rename board to a more generic name
Dear Heiko Schocher,
Quoted 17 lines · In message <[email protected]> you wrote:
renaming the "mgsuvd" board port into "km8xx", because there come more similar boards from keymile. Compiling the mgsuvd board with "make
mgsuvd_config" remains.Signed-off-by Heiko Schocher <[email protected]>--- Makefile | 2 +- board/keymile/common/common.c | 2 +- board/keymile/common/keymile_hdlc_enet.h | 2 +- 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/commproc.h | 8 +- include/configs/km8xx.h | 317 ++++++++++++++++++++
Quoted 8 lines
include/configs/mgsuvd.h | 285 +-----------------
11 files changed, 327 insertions(+), 291 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%)
create mode 100644 include/configs/km8xx.hApplied, thanks.
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
A door is what a dog is perpetually on the wrong side of.
- Ogden Nash