diff options
author | Ye Li <ye.li@nxp.com> | 2022-03-24 22:43:50 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2022-04-06 18:06:15 +0800 |
commit | 9919053323be235a69520b8763e7e6ccf8b8d15f (patch) | |
tree | 7b635c1463fd4a209675e3a8d5c08b785435a41a /board/amarula | |
parent | f0cc8bc2fab54ff1aa7b48c241c8e96042d8ad92 (diff) |
LFU-278-18 imx: spl_imx_romapi: Workaround loading to OCRAM ECC region
ROM API has a limitation that ROM valid access range does not
include the OCRAM ECC 64KB on i.MX8MP.
When loading image from nand, the spl_load_fit_image will handle
the page unaligned access. In worst case, it requires to read to
more 2 pages. For ATF on iMX8MP, it default address is 0x970000,
so it is highly possible to read data into OCRAM ECC region after
adding more 2 pages.
To handle the case, we use a temp buffer to replace the OCRAM ECC
region for ROM API. Then copy to OCRAM ECC region.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'board/amarula')
0 files changed, 0 insertions, 0 deletions