[U-Boot] [PATCH] ARM: define CONFIG_MACH_TYPE for all keymile boards

Igor Grinberg grinberg at compulab.co.il
Mon Oct 31 11:48:06 CET 2011


Hi Valentin,

On 10/31/11 12:07, Valentin Longchamp wrote:
> As this is a mandatory CONFIG for ARM boards now.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
> Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
> ---
>  include/configs/km/km_arm.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
> index eaf6017..f30088d 100644
> --- a/include/configs/km/km_arm.h
> +++ b/include/configs/km/km_arm.h
> @@ -48,6 +48,8 @@
>  #define CONFIG_KW88F6281		/* SOC Name */
>  #define CONFIG_MACH_KM_KIRKWOOD		/* Machine type */
>  
> +#define CONFIG_MACH_TYPE	MACH_TYPE_KM_KIRKWOOD
> +

Probably, you also want to remove the gd->bd->bi_arch_number
assignment from board files using this mach id?


-- 
Regards,
Igor.


More information about the U-Boot mailing list