Skip to content
Commit 3c41728d authored by Peng Fan's avatar Peng Fan
Browse files

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: default avatarYe Li <ye.li@nxp.com>
Signed-off-by: default avatarSilvano di Ninno <silvano.dininno@nxp.com>
Tested-by: default avatarSilvano di Ninno <silvano.dininno@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent ec04ae42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment