Skip to contentSkip to conversation

8xx, mgsuvd: rename board to a more generic name

PATCH New Heiko Schocher 3 participants 4 messages Mar 11, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 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.

---
 Makefile                                           |    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/configs/km8xx.h                            |  312 ++++++++++++++++++++
 include/configs/mgsuvd.h                           |  281 +-----------------
 8 files changed, 316 insertions(+), 281 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.h
Makefile +1 -1
index e8b4c13..8cc8dd5 100644
@@ -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/km8xx/Makefile renamed from board/keymile/mgsuvd/Makefile +1 -1
similarity index 98%
rename from board/keymile/mgsuvd/Makefile
rename to board/keymile/km8xx/Makefile
index 2c5732d..a6f3241 100644
@@ -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
similarity index 100%
rename from board/keymile/mgsuvd/config.mk
rename to board/keymile/km8xx/config.mk
board/keymile/km8xx/km8xx.c renamed from board/keymile/mgsuvd/mgsuvd.c +0 -0
similarity index 100%
rename from board/keymile/mgsuvd/mgsuvd.c
rename to board/keymile/km8xx/km8xx.c
board/keymile/km8xx/km8xx_hdlc_enet.c renamed from board/keymile/mgsuvd/mgsuvd_hdlc_enet.c +0 -0
similarity index 100%
rename from board/keymile/mgsuvd/mgsuvd_hdlc_enet.c
rename to board/keymile/km8xx/km8xx_hdlc_enet.c
board/keymile/km8xx/u-boot.lds renamed from board/keymile/mgsuvd/u-boot.lds +0 -0
similarity index 100%
rename from board/keymile/mgsuvd/u-boot.lds
rename to board/keymile/km8xx/u-boot.lds
include/configs/km8xx.h new file +312 -0

312 lines not on this page · raw message

include/configs/mgsuvd.h +2 -279

289 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
#1 lore raw

PATCH 2/3 8xx, mgsuvd: rename board to a more generic name

Dear Heiko Schocher,

Quoted 6 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.

Parts of this change are also mixed in into the next patch ([PATCH 3/3] 8xx: add support for new keymile kmsupx4 board) - please clean up.

...

Quoted 4 lines

new file mode 100644
index 0000000..1cb7756

include/configs/km8xx.h new file +0 -0

...

Quoted 1 line

+#define CONFIG_MPC866 1 /* This is a MPC866 CPU */

Line length.

include/configs/km8xx.h line 50

Quoted 2 lines
include/configs/km8xx.h new file +2 -0
+#define CONFIG_SYS_CPM_BOOTCOUNT_ADDR	0x1eb0	/* In case of SMC relocation, the
+					 * default value is not working */

Line length.

Quoted 1 line

+#define CONFIG_TIMESTAMP /* but print image timestmps */

Line length.

include/configs/km8xx.h line 98

Quoted 3 lines
include/configs/km8xx.h new file +3 -0
+#define CONFIG_SYS_INIT_RAM_END	0x2F00	/* End of used area in DPRAM	*/
+#define CONFIG_SYS_GBL_DATA_SIZE	64  /* size in bytes reserved for initial data */
+#define CONFIG_SYS_GBL_DATA_OFFSET	(CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)

Line length.

include/configs/km8xx.h line 110

Quoted 3 lines
include/configs/km8xx.h new file +3 -0
+#define CONFIG_SYS_MONITOR_LEN		(384 << 10)	/* Reserve 384 kB for Monitor	*/
+#define CONFIG_SYS_MONITOR_BASE	CONFIG_SYS_FLASH_BASE
+#define CONFIG_SYS_MALLOC_LEN		(256 << 10)	/* Reserve 256 kB for malloc()	*/

Line length.

and so on.

Best regards,

Wolfgang Denk

Signature · 6 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: [email protected]
Sometimes a man will tell his bartender things he'll never tell his doctor.
	-- Dr. Phillip Boyce, "The Menagerie" ("The Cage"),
	   stardate unknown.
#3 lore raw

PATCH 2/3 8xx, mgsuvd: rename board to a more generic name

Quoted 5 lines · On Wed, 11 Mar 2009 13:06:27 -0500 Kim Phillips <[email protected]>…
Quoted 3 lines

Compiling the mgsuvd board with "make mgsuvd_config" remains.

Why?

nm, I see why - later on in the patchseries you add another 8xx based board.

Kim