>From 3c7a1b900ab7b473fed62398fc76a16fa9c5940a Mon Sep 17 00:00:00 2001
From: Matvejchikov Ilya <[EMAIL PROTECTED](none)>
Date: Sat, 7 Jun 2008 16:57:14 +0400
Subject: [PATCH] FDT memory and pci fixes for MPC8260ADS
Signed-off-by: Matvejchikov Ilya <[EMAIL PROTECTED](none)>
---
>From 9bdd14533d7c6f0af336b59a2a026093be84eff9 Mon Sep 17 00:00:00 2001
From: Matvejchikov Ilya <[EMAIL PROTECTED](none)>
Date: Sat, 7 Jun 2008 17:01:42 +0400
Subject: [PATCH] Some copy-n-paste fixes in printf usage
Signed-off-by: Matvejchikov Ilya <[EMAIL PROTECTED](none)>
--
Signed-off-by: Matvejchikov Ilya <[EMAIL PROTECTED]>
---
board/freescale/mpc8260ads/mpc8260ads.c | 27 +++
cpu/mpc8260/pci.c | 12
include/configs/MPC8260ADS.h|7 +++
3 files changed, 46 insertions(+), 0 del
Signed-off-by: Matvejchikov Ilya <[EMAIL PROTECTED]>
---
board/cm5200/cm5200.c |2 +-
board/ids8247/ids8247.c |2 +-
board/mgcoge/mgcoge.c |6 +++---
board/mgsuvd/mgsuvd.c |8
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/board/cm5200/cm52
: Matvejchikov Ilya <[EMAIL PROTECTED]>
---
include/asm-ppc/global_data.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/asm-ppc/global_data.h b/include/asm-ppc/global_data.h
index c5ac658..ac3e719 100644
--- a/include/asm-ppc/global_data.h
+++ b/include/a
This patch fixes gd->pci_clk usage. Now it depends on CONFIG_PCI option.
Signed-off-by: Matvejchikov Ilya <[EMAIL PROTECTED]>
---
cpu/mpc8260/speed.c | 47 +++
1 files changed, 27 insertions(+), 20 deletions(-)
diff --git a/cpu/mpc8260/spee
> This makes no sense to me.
>
> Please keep in mind that the global_data stuff is intended for, and
> only for, holding global information while we are still running from
> flash (i. e. before relocation) so that we have neiter a writabel data
> segment nor a valid bss segment.
>
> PCI initializat
>> +#if defined(CONFIG_OF_LIBFDT)
>> +void ft_pci_setup(void *blob, bd_t *bd)
>> +{
>> + do_fixup_by_prop_u32(blob, "device_type", "pci", 4,
>> + "clock-frequency", bd->pci_clk, 1);
>> +}
>> +#endif
>
> Your patch causes problems:
>
> Configuring for MPC8260ADS board...
> pci.c: In
This patch adds pci_clk field to the global_data structure for the
processors which have CPM2 module in case the CONFIG_PCI is defined.
Signed-off-by: Matvejchikov Ilya <[EMAIL PROTECTED]>
---
include/asm-ppc/global_data.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff
Signed-off-by: Matvejchikov Ilya <[EMAIL PROTECTED]>
---
cpu/mpc8260/speed.c | 47 +++
1 files changed, 27 insertions(+), 20 deletions(-)
diff --git a/cpu/mpc8260/speed.c b/cpu/mpc8260/speed.c
index 38cd0d9..8d280fb 100644
--- a/cpu/mpc8260/s
10 matches
Mail list logo