public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Fix 4xx build issue
@ 2008-06-12 10:40 Anatolij Gustschin
  2008-06-12 11:51 ` Stefan Roese
  2008-06-19 20:49 ` Wolfgang Denk
  0 siblings, 2 replies; 7+ messages in thread
From: Anatolij Gustschin @ 2008-06-12 10:40 UTC (permalink / raw)
  To: u-boot

Building for 4xx doesn't work since commit 4dbdb768:

In file included from 4xx_pcie.c:28:
include/asm/processor.h:971: error: expected ')' before 'ver'
make[1]: *** [4xx_pcie.o] Error 1

This patch fixes the problem.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 cpu/mpc85xx/cpu.c           |    2 +-
 include/asm-ppc/processor.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c
index 2b7e753..baf8b81 100644
--- a/cpu/mpc85xx/cpu.c
+++ b/cpu/mpc85xx/cpu.c
@@ -59,7 +59,7 @@ struct cpu_type cpu_type_list [] = {
 	CPU_TYPE_ENTRY(8572, 8572_E),
 };
 
-struct cpu_type *identify_cpu(uint ver)
+struct cpu_type *identify_cpu(u32 ver)
 {
 	int i;
 	for (i = 0; i < ARRAY_SIZE(cpu_type_list); i++)
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 139e686..5b50679 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -968,7 +968,7 @@ struct cpu_type {
 	u32 soc_ver;
 };
 
-struct cpu_type *identify_cpu(uint ver);
+struct cpu_type *identify_cpu(u32 ver);
 
 #define CPU_TYPE_ENTRY(n, v) \
 	{ .name = #n, .soc_ver = SVR_##v, }
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot-Users] [PATCH] Fix 4xx build issue
  2008-06-12 10:40 [U-Boot-Users] [PATCH] Fix 4xx build issue Anatolij Gustschin
@ 2008-06-12 11:51 ` Stefan Roese
  2008-06-12 12:05   ` Kumar Gala
  2008-06-14 17:50   ` Larry Johnson
  2008-06-19 20:49 ` Wolfgang Denk
  1 sibling, 2 replies; 7+ messages in thread
From: Stefan Roese @ 2008-06-12 11:51 UTC (permalink / raw)
  To: u-boot

On Thursday 12 June 2008, Anatolij Gustschin wrote:
> Building for 4xx doesn't work since commit 4dbdb768:
>
> In file included from 4xx_pcie.c:28:
> include/asm/processor.h:971: error: expected ')' before 'ver'
> make[1]: *** [4xx_pcie.o] Error 1
>
> This patch fixes the problem.
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>

Acked-by: Stefan Roese <sr@denx.de>

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] [PATCH] Fix 4xx build issue
  2008-06-12 11:51 ` Stefan Roese
@ 2008-06-12 12:05   ` Kumar Gala
  2008-06-14 17:50   ` Larry Johnson
  1 sibling, 0 replies; 7+ messages in thread
From: Kumar Gala @ 2008-06-12 12:05 UTC (permalink / raw)
  To: u-boot


On Jun 12, 2008, at 6:51 AM, Stefan Roese wrote:

> On Thursday 12 June 2008, Anatolij Gustschin wrote:
>> Building for 4xx doesn't work since commit 4dbdb768:
>>
>> In file included from 4xx_pcie.c:28:
>> include/asm/processor.h:971: error: expected ')' before 'ver'
>> make[1]: *** [4xx_pcie.o] Error 1
>>
>> This patch fixes the problem.
>>
>> Signed-off-by: Anatolij Gustschin <agust@denx.de>
>
> Acked-by: Stefan Roese <sr@denx.de>

Acked-by: Kumar Gala <galak@kernel.crashing.org>

- k

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] [PATCH] Fix 4xx build issue
  2008-06-12 11:51 ` Stefan Roese
  2008-06-12 12:05   ` Kumar Gala
@ 2008-06-14 17:50   ` Larry Johnson
  2008-06-15  4:09     ` Stefan Roese
  1 sibling, 1 reply; 7+ messages in thread
From: Larry Johnson @ 2008-06-14 17:50 UTC (permalink / raw)
  To: u-boot

Stefan Roese wrote:
> On Thursday 12 June 2008, Anatolij Gustschin wrote:
>> Building for 4xx doesn't work since commit 4dbdb768:
>>
>> In file included from 4xx_pcie.c:28:
>> include/asm/processor.h:971: error: expected ')' before 'ver'
>> make[1]: *** [4xx_pcie.o] Error 1
>>
>> This patch fixes the problem.
>>
>> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> 
> Acked-by: Stefan Roese <sr@denx.de>
> 
> Thanks.
> 
> Best regards,
> Stefan

Thanks from me too, Anatolij.  I just came up with the same patch, but
decided to check the mailing list before submitting it.

Stefan, could you add this to the ppc4xx repository ASAP?

Best regards,
Larry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] [PATCH] Fix 4xx build issue
  2008-06-14 17:50   ` Larry Johnson
@ 2008-06-15  4:09     ` Stefan Roese
  2008-06-19 20:49       ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Roese @ 2008-06-15  4:09 UTC (permalink / raw)
  To: u-boot

On Saturday 14 June 2008, Larry Johnson wrote:
> Thanks from me too, Anatolij.  I just came up with the same patch, but
> decided to check the mailing list before submitting it.
>
> Stefan, could you add this to the ppc4xx repository ASAP?

No, I can't. This patch touches non-PPC4xx files so it shouldn't be integrated 
via the 4xx repository.

Wolfgang, could you please apply it directly soon? Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] [PATCH] Fix 4xx build issue
  2008-06-12 10:40 [U-Boot-Users] [PATCH] Fix 4xx build issue Anatolij Gustschin
  2008-06-12 11:51 ` Stefan Roese
@ 2008-06-19 20:49 ` Wolfgang Denk
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2008-06-19 20:49 UTC (permalink / raw)
  To: u-boot

In message <1213267211-9313-1-git-send-email-agust@denx.de> you wrote:
> Building for 4xx doesn't work since commit 4dbdb768:
> 
> In file included from 4xx_pcie.c:28:
> include/asm/processor.h:971: error: expected ')' before 'ver'
> make[1]: *** [4xx_pcie.o] Error 1
> 
> This patch fixes the problem.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>

Applied, thanks!

Best regards,

Wolfgang Denk

-- 
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 mouse is an elephant built by the Japanese.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] [PATCH] Fix 4xx build issue
  2008-06-15  4:09     ` Stefan Roese
@ 2008-06-19 20:49       ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2008-06-19 20:49 UTC (permalink / raw)
  To: u-boot

In message <200806150609.43832.sr@denx.de> you wrote:
>
> > Stefan, could you add this to the ppc4xx repository ASAP?
> 
> No, I can't. This patch touches non-PPC4xx files so it shouldn't be integrated 
> via the 4xx repository.
> 
> Wolfgang, could you please apply it directly soon? Thanks.

Done.

Best regards,

Wolfgang Denk

-- 
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 good marriage would be between a blind wife and deaf husband.
                                               -- Michel de Montaigne

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-06-19 20:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 10:40 [U-Boot-Users] [PATCH] Fix 4xx build issue Anatolij Gustschin
2008-06-12 11:51 ` Stefan Roese
2008-06-12 12:05   ` Kumar Gala
2008-06-14 17:50   ` Larry Johnson
2008-06-15  4:09     ` Stefan Roese
2008-06-19 20:49       ` Wolfgang Denk
2008-06-19 20:49 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox