From: Wolfgang Denk Date: Mon, 14 Jul 2008 22:14:23 +0200 Subject: [U-Boot-Users] [PATCH, resend] FDT memory and pci node fixes for MPC8260ADS In-Reply-To: Your message of "Mon, 14 Jul 2008 20:52:07 +0400." <8496f91a0807140952l1e78debchf4e459311d2fcc3b@mail.gmail.com> Message-ID: <20080714201424.039F6242FD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <8496f91a0807140952l1e78debchf4e459311d2fcc3b@mail.gmail.com> you wrote: > >> +#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. Can you please submit a 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: wd at denx.de "The X11 source code style is ATROCIOUS and should not be used as a model." - Doug Gwyn