[U-Boot] [PATCH] kirkwood: ib62x0: use device tree and update config

Fabio Estevam festevam at gmail.com
Mon Oct 14 04:41:44 CEST 2013


On Sun, Oct 13, 2013 at 11:38 PM, Luka Perkov <luka at openwrt.org> wrote:
> Signed-off-by: Luka Perkov <luka at openwrt.org>
> ---
>  include/configs/ib62x0.h | 37 ++++++++++++++++++++-----------------
>  1 file changed, 20 insertions(+), 17 deletions(-)
>
> diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h
> index 7fa0c53..90ed0fb 100644
> --- a/include/configs/ib62x0.h
> +++ b/include/configs/ib62x0.h
> @@ -23,9 +23,9 @@
>  #define CONFIG_SKIP_LOWLEVEL_INIT      /* disable board lowlevel_init */
>
>  /*
> - * Machine type
> + * Enable device tree support
>   */
> -#define CONFIG_MACH_TYPE       MACH_TYPE_NAS6210
> +#define CONFIG_OF_LIBFDT

I am not familiar with this platform, but couldn't you also keep
CONFIG_MACH_TYPE ?

This way people have the option to load both dt and non-dt kernels.

Regards,

Fabio Estevam


More information about the U-Boot mailing list