Re: [RFC, PATCH] i.MX6: phytec: Do not hardcode default environment

2015-01-06 Thread Andrey Smirnov
Looking at it you should rather replace the compatible checks in phytec_pfla02_init with their baseboards, so instead of: if (!of_machine_is_compatible(phytec,imx6q-pfla02) !of_machine_is_compatible(phytec,imx6dl-pfla02)

Re: [RFC, PATCH] i.MX6: phytec: Do not hardcode default environment

2015-01-05 Thread Sascha Hauer
Hi Andrey, On Wed, Dec 31, 2014 at 08:49:50AM -0800, Andrey Smirnov wrote: By default i.MX6 phytec image hardcodes its default environment in initialization code. Define phytec specific defonfig and use CONFIG_DEFAULT_ENVIRONMENT_PATH instead. Signed-off-by: Andrey Smirnov

Re: [RFC, PATCH] i.MX6: phytec: Do not hardcode default environment

2014-12-31 Thread Alexander Aring
Hi, On Wed, Dec 31, 2014 at 08:49:50AM -0800, Andrey Smirnov wrote: By default i.MX6 phytec image hardcodes its default environment in initialization code. Define phytec specific defonfig and use CONFIG_DEFAULT_ENVIRONMENT_PATH instead. Signed-off-by: Andrey Smirnov andrew.smir...@gmail.com