[RFC PATCH v2 0/3] imx8m: move env_get_location for imx8mn and imx8mp at board level

Peng Fan (OSS) peng.fan at oss.nxp.com
Sun Dec 19 03:11:44 CET 2021

On 2021/12/1 4:17, Tommaso Merciai wrote:
> This series move env_get_location from soc to board level. As suggested
> by Michael <michael at 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 both imx8mn
> and imx8mp evk boards instead of being completely dropped.
> (as suggested by Andrey <andrey.zhizhikin at leica-geosystems.com>)

If there are other i.MX8MN/P boards already uses the function, move
it to i.mx8mn/p_evk would break other boards. If i.MX8MN/P evk are
the other users, it should be ok to move the board code.


> Tommaso Merciai (3):
>    imx8m: drop env_get_location for imx8mn and imx8mp
>    imx: imx8mn_evk: override env_get_location
>    imx: imx8mp_evk: 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 +++++++++++++++++++++
>   3 files changed, 69 insertions(+), 39 deletions(-)

More information about the U-Boot mailing list