diff options
author | Shelley Chen <shchen@google.com> | 2021-06-25 14:39:18 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-07-02 00:47:23 +0000 |
commit | 2033afa68263834906e3eed8b3215dbd8b9bdb97 (patch) | |
tree | 625ba1a192c73a903b461d6017dc284bdc8a985b /util | |
parent | a6b60ebedbece7f2d008c57dc48bd492586989da (diff) |
selfboot: Add support for selfload in romstage
Since bootmem is not available in romstage, calls to bootmem APIs need
to be compile-time eliminated in order to avoid linker error:
undefined reference to `bootmem_region_targets_type
BUG=None
BRANCH=None
TEST=./util/abuild/abuild -p none -t GOOGLE_HEROBRINE -x -a -B
cherry-picked on top of CB:49392 and verified successful
compilation.
Change-Id: I8dfa2f2079a9a2859114c53c22bf7ef466ac2ad9
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55865
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions