On Thu, Jan 15, 2009 at 04:21:18PM +0100, Jean-Michel Hautbois wrote: > --- a/include/configs/MPC8260ADS.h > +++ b/include/configs/MPC8260ADS.h > > @@ -200,7 +200,11 @@ > #define CONFIG_OF_LIBFDT 1 > #define CONFIG_OF_BOARD_SETUP 1 > #if defined(CONFIG_OF_LIBFDT) > +#ifdef CONFIG_MPC8272 > +#define OF_CPU "PowerPC,8...@0" > +#else > #define OF_CPU "c...@0" > +#endif > #define OF_TBCLK (bd->bi_busfreq / 4) > #endif
Can we just look for device_type == cpu, or for children of the cpus node? The above will break on things like 8248 chips, which use CONFIG_MPC8272. Or, we could just fix the device trees to use c...@0. -Scott _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

