imx8mn/imx8mp: override env_get_offset and env_get_location
authorYe Li <ye.li@nxp.com>
Mon, 15 Jul 2019 08:16:46 +0000 (01:16 -0700)
committerPeng Fan <peng.fan@nxp.com>
Tue, 14 Jul 2020 07:23:47 +0000 (15:23 +0800)
commit2707faf01f04ee24b297e9da8988f4d05e971735
tree344d0b579b820b7d93b0cd07189361de7d383ef4
parent7a42bf048932af61e9f095a90edc96da394dee37
imx8mn/imx8mp: override env_get_offset and env_get_location

To use one defconfig for all boot device, we have to runtime set
env offset and return env medium according to the boot device.
This patch overrides the env_get_offset and env_get_location to
implement the feature.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/soc.c