diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2024-10-18 15:51:07 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-18 14:16:10 -0600 |
commit | 491195769dbeed62f0a2f20cfa198bd2b297720e (patch) | |
tree | d76cc15bc36c961d1032125faccf8234e2d5cbc2 /lib/mbedtls/x509_cert_parser.c | |
parent | 8ab2178de069194d2eed8fe1b90db7e12cf032bb (diff) |
lmb: notify when adjacent regions are added
lmb_add_region() returns a positive integer if the added regions causes
existing regions to be coalesced. We still want to notify the EFI
subsystem about these added regions though, so adjust lmb_add() to only
bail on errors.
This fixes EFI memory allocation on boards with adjacent memory banks as is the
case on several Qualcomm boards like the RB3 Gen 2.
Fixes: 2f6191526a13 (lmb: notify of any changes to the LMB memory map)
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/mbedtls/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions