diff options
author | Peng Fan <peng.fan@nxp.com> | 2024-10-18 15:34:32 +0800 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2024-10-18 09:41:09 -0300 |
commit | 9b1cecdd9b6eaf22c4fa268430669ceff0c48786 (patch) | |
tree | deebfeefa1d2952d01a477367474343f818793c6 /lib/mbedtls/x509_cert_parser.c | |
parent | 21cd724a5455fd761e131dbd334a6b0592c65ce4 (diff) |
cpu: imx8_cpu: Avoid revision to corrupt device tree
U-Boot device tree is padded just after U-Boot proper.
After the whole stuff loaded to DRAM space, the device tree
area is conflict with BSS region before U-Boot relocation.
So any write to BSS area before reloc_fdt will corrupt the
device tree. Without the fix, there is issue that “binman_init
failed:-2” on i.MX8MP-EVK board.
Drop 'revision' and use malloc area in cpu_imx_plat->rev.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'lib/mbedtls/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions