In message <[EMAIL PROTECTED]> you wrote:
> 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 deletions(-)
...
> --- a/cpu/mpc8260/pci.c
> +++ b/cpu/mpc8260/pci.c
> @@ -33,6 +33,10 @@
>  #include <mpc8260.h>
>  #include <asm/m8260_pci.h>
>  #include <asm/io.h>
> +#ifdef CONFIG_OF_LIBFDT
> +#include <libfdt.h>
> +#include <fdt_support.h>
> +#endif
> 
>  #if defined CONFIG_MPC8266ADS || defined CONFIG_MPC8272 || defined 
> CONFIG_PM826
>  DECLARE_GLOBAL_DATA_PTR;
> @@ -449,4 +453,12 @@ void pci_mpc8250_init (struct pci_controller *hose)
>       immap->im_pci.pci_emr |= cpu_to_le32 (PCI_ERROR_PCI_NO_RSP);
>  }
> 
> +#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 function 'ft_pci_setup':
pci.c:460: error: 'bd_t' has no member named 'pci_clk'
make[1]: *** [pci.o] Error 1


Do you have a quick fix or shall I back out the patch?

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: [EMAIL PROTECTED]
Drun'? 'm not drun'! You woudn' dare call m' drun' if I was sober!
                                     - Terry Pratchett, _Men at Arms_

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to