Skip to contentSkip to conversation

build fails for adder875 for new pulls of powerpc.git

DISCUSSION Rognlien Dag Kristian 3 participants 4 messages Jan 31, 2008 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#2 lore raw

Hi Rognlien,

Quoted 3 lines

The latest commits to powerpc.git removes commproc.h files used by arch/powerpc/platforms/8xx/adder875.c

The kernel fails to build for the adder configs.

This should fix it:

arch/powerpc/platforms/8xx/adder875.c +2 -2
index c6bc078..b49d62a 100644
@@ -15,12 +15,12 @@
 
 #include <asm/time.h>
 #include <asm/machdep.h>
-#include <asm/commproc.h>
+#include <asm/cpm1.h>
 #include <asm/fs_pd.h>
 #include <asm/udbg.h>
 #include <asm/prom.h>
 
-#include <sysdev/commproc.h>
+#include "mpc8xx.h"
 
 struct cpm_pin {
 	int port, pin, flags;

Thanks,
Jochen

#3 lore raw
Quoted 28 lines · Jochen Friedrich

Hi Rognlien,

Quoted 3 lines

The latest commits to powerpc.git removes commproc.h files used by arch/powerpc/platforms/8xx/adder875.c

The kernel fails to build for the adder configs.

This should fix it:

arch/powerpc/platforms/8xx/adder875.c +2 -2
index c6bc078..b49d62a 100644
@@ -15,12 +15,12 @@
 
 #include <asm/time.h>
 #include <asm/machdep.h>
-#include <asm/commproc.h>
+#include <asm/cpm1.h>
 #include <asm/fs_pd.h>
 #include <asm/udbg.h>
 #include <asm/prom.h>
 
-#include <sysdev/commproc.h>
+#include "mpc8xx.h"
 
 struct cpm_pin {
 	int port, pin, flags;
Quoted 2 lines

Thanks,
Jochen

I'll take scott's version as its more complete and fixes another board.

- k

#4 lore raw
In reply to Jochen Friedrich

Hi Rognlien,

Quoted 17 lines

Hi Rognlien,

Quoted 3 lines

The latest commits to powerpc.git removes commproc.h files used by arch/powerpc/platforms/8xx/adder875.c

The kernel fails to build for the adder configs.

This should fix it:

arch/powerpc/platforms/8xx/adder875.c +0 -1
index c6bc078..b49d62a 100644
@@ -15,12 +15,12 @@
 
 #include <asm/time.h>
 #include <asm/machdep.h>
-#include <asm/commproc.h>

arch/powerpc/platforms/8xx/adder875.c line 26

Quoted 10 lines
arch/powerpc/platforms/8xx/adder875.c +2 -1
+#include <asm/cpm1.h>
 #include <asm/fs_pd.h>
 #include <asm/udbg.h>
 #include <asm/prom.h>
 
-#include <sysdev/commproc.h>
+#include "mpc8xx.h"
 
 struct cpm_pin {
 	int port, pin, flags;

sorry, this fix was incomplete. Scott Wood just posted a correct fix.

Thanks,
Jochen