diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-07-09 15:26:06 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-07-14 15:23:48 +0800 |
commit | 3c41728d80f7a6178dd4ec91c28347d9768ab200 (patch) | |
tree | e5aa2f4a4f03e0071c76d3f4b502aed467583f9c /configs/imx8mp_evk_defconfig | |
parent | ec04ae4217e6f68ad7ccd7740e540d79a3f4e1c1 (diff) |
imx8m: Refactor the OPTEE memory removal
Current codes assume the OPTEE address is at the end of first DRAM bank.
Adjust the process to allow OPTEE in the middle of first bank.
When OPTEE memory is removed from first bank, it may split the first bank
to two banks, adjust the MMU table for the split case,
Since the default CONFIG_NR_DRAM_BANKS is 4, it is enough, just enlarge
i.MX8MP evk to default to avoid issue.
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Tested-by: Silvano di Ninno <silvano.dininno@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'configs/imx8mp_evk_defconfig')
-rw-r--r-- | configs/imx8mp_evk_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/imx8mp_evk_defconfig b/configs/imx8mp_evk_defconfig index dcfc336634..f49116c9c5 100644 --- a/configs/imx8mp_evk_defconfig +++ b/configs/imx8mp_evk_defconfig @@ -16,7 +16,6 @@ CONFIG_TARGET_IMX8MP_EVK=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_DRIVERS_MISC_SUPPORT=y -CONFIG_NR_DRAM_BANKS=2 CONFIG_SPL=y CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 CONFIG_FIT=y |