Skip to contentSkip to conversation

Move the MPC8641HPCN board under board/freescale.

PATCH New Jon Loeliger 2 participants 2 messages Aug 15, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Move the MPC8641HPCN board under board/freescale.

Minor path corrections needed to ensure buildability.

---

Wolfgang,

Tested on the 8641 HPCN board; sbc8641d continues to build. :-)

I will place these file moves and the CFG_CMD_* patch into the -mpc86xx repo for you to pull shortly.

Thanks,
jdl

 Makefile                                           |    2 +-
 .../{mpc8641hpcn => freescale/common}/sys_eeprom.c |    0 
 board/{ => freescale}/mpc8641hpcn/Makefile         |    7 ++++---
 board/{ => freescale}/mpc8641hpcn/config.mk        |    0 
 board/{ => freescale}/mpc8641hpcn/init.S           |    0 
 board/{ => freescale}/mpc8641hpcn/mpc8641hpcn.c    |    2 +-
 board/{ => freescale}/mpc8641hpcn/u-boot.lds       |    2 +-
 7 files changed, 7 insertions(+), 6 deletions(-)
 rename board/{mpc8641hpcn => freescale/common}/sys_eeprom.c (100%)
 rename board/{ => freescale}/mpc8641hpcn/Makefile (93%)
 rename board/{ => freescale}/mpc8641hpcn/config.mk (100%)
 rename board/{ => freescale}/mpc8641hpcn/init.S (100%)
 rename board/{ => freescale}/mpc8641hpcn/mpc8641hpcn.c (100%)
 rename board/{ => freescale}/mpc8641hpcn/u-boot.lds (99%)
Makefile +1 -1
index 9dee948..65efd3f 100644
@@ -1900,7 +1900,7 @@ TQM8560_config:		unconfig
 #########################################################################
 
 MPC8641HPCN_config:    unconfig
-	@$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn
+	@$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
 
 sbc8641d_config:	unconfig
 	@./mkconfig $(@:_config=) ppc mpc86xx sbc8641d
board/freescale/common/sys_eeprom.c renamed from board/mpc8641hpcn/sys_eeprom.c +0 -0
similarity index 100%
rename from board/mpc8641hpcn/sys_eeprom.c
rename to board/freescale/common/sys_eeprom.c
board/freescale/mpc8641hpcn/Makefile renamed from board/mpc8641hpcn/Makefile +4 -3
similarity index 93%
rename from board/mpc8641hpcn/Makefile
rename to board/freescale/mpc8641hpcn/Makefile
index df56b31..93b015d 100644
@@ -24,13 +24,14 @@
 include $(TOPDIR)/config.mk
 
 ifneq ($(OBJTREE),$(SRCTREE))
-$(shell mkdir -p $(obj)../freescale/common)
+$(shell mkdir -p $(obj)../common)
 endif
 
 LIB	= $(obj)lib$(BOARD).a
 
-COBJS	:= $(BOARD).o sys_eeprom.o \
-		../freescale/common/pixis.o
+COBJS	:= $(BOARD).o \
+		../common/sys_eeprom.o \
+		../common/pixis.o
 
 SOBJS	:= init.o
 
board/freescale/mpc8641hpcn/config.mk renamed from board/mpc8641hpcn/config.mk +0 -0
similarity index 100%
rename from board/mpc8641hpcn/config.mk
rename to board/freescale/mpc8641hpcn/config.mk
board/freescale/mpc8641hpcn/init.S renamed from board/mpc8641hpcn/init.S +0 -0
similarity index 100%
rename from board/mpc8641hpcn/init.S
rename to board/freescale/mpc8641hpcn/init.S
board/freescale/mpc8641hpcn/mpc8641hpcn.c renamed from board/mpc8641hpcn/mpc8641hpcn.c +1 -1
similarity index 100%
rename from board/mpc8641hpcn/mpc8641hpcn.c
rename to board/freescale/mpc8641hpcn/mpc8641hpcn.c
index 1bfbe88..ffd11cb 100644
@@ -33,7 +33,7 @@
 extern void ft_cpu_setup(void *blob, bd_t *bd);
 #endif
 
-#include "../freescale/common/pixis.h"
+#include "../common/pixis.h"
 
 #if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
 extern void ddr_enable_ecc(unsigned int dram_size);
board/freescale/mpc8641hpcn/u-boot.lds renamed from board/mpc8641hpcn/u-boot.lds +1 -1
similarity index 99%
rename from board/mpc8641hpcn/u-boot.lds
rename to board/freescale/mpc8641hpcn/u-boot.lds
index 5864464..fd16362 100644
@@ -51,7 +51,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc86xx/start.o	(.text)
-    board/mpc8641hpcn/init.o (.bootpg)
+    board/freescale/mpc8641hpcn/init.o (.bootpg)
     cpu/mpc86xx/traps.o (.text)
     cpu/mpc86xx/interrupts.o (.text)
     cpu/mpc86xx/cpu_init.o (.text)
Signature · 1 line
1.5.0.3
#1 lore raw

PATCH 1/1 Move the MPC8641HPCN board under board/freescale.

Quoted 11 lines · In message <1187198705.28250.14.camel@ld0161-tx32> you wrote:

Minor path corrections needed to ensure buildability.

---

Wolfgang,

Tested on the 8641 HPCN board; sbc8641d continues to build. :-)

I will place these file moves and the CFG_CMD_* patch into the -mpc86xx repo for you to pull shortly.

OK, I will pull this one from the 86xx repo, but I already picked up the other one as it was a too obvious a bug fix.

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
"'Tis true, 'tis pity, and pity 'tis 'tis true."
    - Poloniouius, in Willie the Shake's _Hamlet, Prince of Darkness_