]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitf61118be776d11fb6c5133673e8f98bab822b14f
tree344d0b579b820b7d93b0cd07189361de7d383ef4
parente9d4f0e544ddb0b888a953b75b6ec5dd1cfa3b9e
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