[U-Boot-Users] [PATCH] [ADS5121] Device tree updates

Scott Wood scottwood at FREESCALE.COM
Thu Jan 31 18:39:59 CET 2008


On Wed, Jan 30, 2008 at 01:36:57PM -0700, John Rigby wrote:
> diff --git a/include/configs/ads5121.h b/include/configs/ads5121.h
> index ce458ae..973f348 100644
> --- a/include/configs/ads5121.h
> +++ b/include/configs/ads5121.h
> @@ -415,8 +415,9 @@
>  #define CONFIG_OF_BOARD_SETUP	1
>  
>  #define OF_CPU			"PowerPC,5121 at 0"
> -#define OF_SOC			"soc5121 at 80000000"
> +#define OF_SOC			"soc at 80000000"
> +#define OF_SOC_OLD		"soc5121 at 80000000"

This should be looked up by compatible, not by path.

>  #define OF_TBCLK		(bd->bi_busfreq / 4)
> -#define OF_STDOUT_PATH		"/soc5121 at 80000000/serial at 11300"
> +#define OF_STDOUT_PATH		"/soc at 80000000/serial at 11300"

This should be done with aliases.

-Scott




More information about the U-Boot mailing list