* [PATCH] PowerPC 44x: add missing define TARGET_4xx to cuboot-taishan.c
@ 2008-02-21 14:43 Valentine Barshak
2008-02-24 15:32 ` Josh Boyer
0 siblings, 1 reply; 5+ messages in thread
From: Valentine Barshak @ 2008-02-21 14:43 UTC (permalink / raw)
To: linuxppc-dev
In order to get the proper bd_info structure for PowerPC 440,
both TARGET_4xx and TARGET_44x should be defined.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
arch/powerpc/boot/cuboot-taishan.c | 1 +
1 files changed, 1 insertion(+)
diff -pruN linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c linux-2.6/arch/powerpc/boot/cuboot-taishan.c
--- linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c 2008-02-21 16:46:11.000000000 +0300
+++ linux-2.6/arch/powerpc/boot/cuboot-taishan.c 2008-02-21 16:48:43.000000000 +0300
@@ -21,6 +21,7 @@
#include "dcr.h"
#include "4xx.h"
+#define TARGET_4xx
#define TARGET_44x
#include "ppcboot.h"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] PowerPC 44x: add missing define TARGET_4xx to cuboot-taishan.c
2008-02-21 14:43 [PATCH] PowerPC 44x: add missing define TARGET_4xx to cuboot-taishan.c Valentine Barshak
@ 2008-02-24 15:32 ` Josh Boyer
2008-02-24 18:36 ` Josh Boyer
0 siblings, 1 reply; 5+ messages in thread
From: Josh Boyer @ 2008-02-24 15:32 UTC (permalink / raw)
To: Valentine Barshak; +Cc: linuxppc-dev
On Thu, 21 Feb 2008 17:43:17 +0300
Valentine Barshak <vbarshak@ru.mvista.com> wrote:
> In order to get the proper bd_info structure for PowerPC 440,
> both TARGET_4xx and TARGET_44x should be defined.
Could you explain what this adds or why it's needed in the changelog?
Also, is this needed for other 440 boards?
josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] PowerPC 44x: add missing define TARGET_4xx to cuboot-taishan.c
2008-02-24 15:32 ` Josh Boyer
@ 2008-02-24 18:36 ` Josh Boyer
2008-02-26 14:58 ` [PATCH] PowerPC 44x: add missing define TARGET_4xx and TARGET_440GX " Valentine Barshak
0 siblings, 1 reply; 5+ messages in thread
From: Josh Boyer @ 2008-02-24 18:36 UTC (permalink / raw)
To: Valentine Barshak; +Cc: linuxppc-dev
On Sun, 24 Feb 2008 09:32:55 -0600
Josh Boyer <jwboyer@linux.vnet.ibm.com> wrote:
> On Thu, 21 Feb 2008 17:43:17 +0300
> Valentine Barshak <vbarshak@ru.mvista.com> wrote:
>
> > In order to get the proper bd_info structure for PowerPC 440,
> > both TARGET_4xx and TARGET_44x should be defined.
>
> Could you explain what this adds or why it's needed in the changelog?
> Also, is this needed for other 440 boards?
And actually, looking at this more, does taishan also need TARGET_440GX?
josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] PowerPC 44x: add missing define TARGET_4xx and TARGET_440GX to cuboot-taishan.c
2008-02-24 18:36 ` Josh Boyer
@ 2008-02-26 14:58 ` Valentine Barshak
2008-02-27 14:57 ` Josh Boyer
0 siblings, 1 reply; 5+ messages in thread
From: Valentine Barshak @ 2008-02-26 14:58 UTC (permalink / raw)
To: linuxppc-dev, jwboyer
In order to get the proper boad info (bd_info) structure defined in ppcboot.h
both TARGET_4xx and TARGET_44x should be defined for all PowerPC 440 boards.
The 440GX boards also need TARGET_440GX defined since they have 4 EMACs and
there are 4 MAC addesses in bd_info passed by u-boot.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
arch/powerpc/boot/cuboot-taishan.c | 2 ++
1 files changed, 2 insertions(+)
diff -pruN linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c linux-2.6/arch/powerpc/boot/cuboot-taishan.c
--- linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c 2008-02-26 16:02:36.000000000 +0300
+++ linux-2.6/arch/powerpc/boot/cuboot-taishan.c 2008-02-26 16:21:08.000000000 +0300
@@ -21,7 +21,9 @@
#include "dcr.h"
#include "4xx.h"
+#define TARGET_4xx
#define TARGET_44x
+#define TARGET_440GX
#include "ppcboot.h"
static bd_t bd;
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-27 14:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 14:43 [PATCH] PowerPC 44x: add missing define TARGET_4xx to cuboot-taishan.c Valentine Barshak
2008-02-24 15:32 ` Josh Boyer
2008-02-24 18:36 ` Josh Boyer
2008-02-26 14:58 ` [PATCH] PowerPC 44x: add missing define TARGET_4xx and TARGET_440GX " Valentine Barshak
2008-02-27 14:57 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox