[U-Boot] [PATCH][MPC8272ADS]
Scott Wood
scottwood at freescale.com
Thu Jan 15 19:03:20 CET 2009
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,8272 at 0"
> +#else
> #define OF_CPU "cpu at 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 cpu at 0.
-Scott
More information about the U-Boot
mailing list