>> +#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?
>

This problem can be temporary fixed with replacement of the
gd->pci_clk by CONFIG_8260_CLKIN.

-------------------------------------------------------------------------
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