u-boot-brain/board/toradex
Peng Fan 3c41728d80 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>
2020-07-14 15:23:48 +08:00
..
apalis_imx6 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
apalis_t30 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
apalis-imx8 doc: update reference to README.imx8image 2020-04-16 23:06:54 -04:00
apalis-tk1 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
colibri_imx6 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
colibri_imx7 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
colibri_pxa270 colibri_pxa270: add mmc platform data 2020-06-30 11:13:11 -04:00
colibri_t20 colibri_t20: change maintainer 2020-06-18 13:15:02 -07:00
colibri_t30 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
colibri_vf doc: update reference to README.imximage 2020-04-16 23:06:54 -04:00
colibri-imx6ull common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
colibri-imx8x doc: update reference to README.imx8image 2020-04-16 23:06:54 -04:00
common command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
verdin-imx8mm imx8m: Refactor the OPTEE memory removal 2020-07-14 15:23:48 +08:00