diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-06-08 09:54:27 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-26 13:45:33 -0600 |
commit | 5c8de1bcfb0024993d902fb5dcfe87546116799b (patch) | |
tree | 5436cac5a328331074de9da0c685f4735cada24b /drivers/ddr/imx/imx8ulp/ddr_init.c | |
parent | d50fd7f91168576918d1b4a6394bf57767ed7cc4 (diff) |
sandbox: align LMB memory
To implement the EFI_SYSTEM_TABLE_POINTER we need 4 MiB aligned
memory.
On the sandbox LMB uses addresses relative to the start of a page aligned
RAM buffer allocated with mmap(). This leads to a mismatch of alignment
between EFI which uses pointers and LMB which uses phys_addr_t.
Ensure that the RAM buffer used for LMB is 4 MiB aligned.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers/ddr/imx/imx8ulp/ddr_init.c')
0 files changed, 0 insertions, 0 deletions