Hi Stefan, On Sun, Jul 3, 2016 at 4:33 PM, Stefan Agner <ste...@agner.ch> wrote:
> +#ifdef CONFIG_ARCH_MISC_INIT > +int arch_misc_init(void) > +{ > + if (is_mx7d()) > + setenv("soc", "imx7d"); > + else > + setenv("soc", "imx7s"); > + > + return 0; > +} > +#endif For SoC detection type in run-time we usually use "ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG". Take a look at udoo, wandboard, mx6cubox, mx6sabresd.c for reference. It would be nice to keep it consistent here too. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot