This series move env_get_location from soc to board level. As suggested by Michael <mich...@amarulasolutions.com> make no sense to define an unique way for multiple board. One board can boot from emmc and having env on spi flash etc.. Anyways, this function is kept in imx8mn_evk, imx8mp_evk, phycore-imx8mp and imx8mn_beacon boards instead of being completely dropped.
Note for all imx8mp/imx8mn users: This patch move only the env_get_location function at board level in this way every users can override it depending on own needs. Test it. Tommaso Merciai (4): imx8m: drop env_get_location for imx8mn and imx8mp imx: imx8mn_evk: override env_get_location imx: imx8mp_evk: override env_get_location phytec: phycore_imx8mp: override env_get_location arch/arm/mach-imx/imx8m/soc.c | 39 -------------------- board/freescale/imx8mn_evk/imx8mn_evk.c | 35 ++++++++++++++++++ board/freescale/imx8mp_evk/imx8mp_evk.c | 34 +++++++++++++++++ board/phytec/phycore_imx8mp/phycore-imx8mp.c | 33 +++++++++++++++++ 4 files changed, 102 insertions(+), 39 deletions(-) -- 2.25.1