diff options
| author | Tom Rini <[email protected]> | 2021-11-20 09:36:37 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-20 09:36:37 -0500 |
| commit | 2ad8d0cb950da2233a2ec030533f4e54c6d04126 (patch) | |
| tree | a4505235689e4fb85770a72a6f57c249a5832a0c /test/lib | |
| parent | 454a97485a1854d4ac4f3b7d408caf3b355beca0 (diff) | |
| parent | d6b55a420cfce660343cc1f60e68fcad0157925a (diff) | |
Merge branch 'efi-2022-01' of https://source.denx.de/u-boot/custodians/u-boot-efi
Scripts:
* Update spelling.txt
LMB:
* remove extern keyword in lmb.h
* drop unused lmb_size_bytes()
Test:
* test truncation in snprintf()
Documentation:
* add include/lmb.h to HTML documentation
UEFI:
* reduce non-debug logging output for measured boot
* fix use after free in measured boot
* startup the tpm device when installing the protocol
* implement EFI_EVENT_GROUP_BEFORE_EXIT_BOOT_SERVICES
* record capsule result only if capsule is read
Diffstat (limited to 'test/lib')
| -rw-r--r-- | test/lib/lmb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lib/lmb.c b/test/lib/lmb.c index b2c2b99ef19..157c26394d6 100644 --- a/test/lib/lmb.c +++ b/test/lib/lmb.c @@ -12,6 +12,11 @@ #include <test/test.h> #include <test/ut.h> +static inline bool lmb_is_nomap(struct lmb_property *m) +{ + return m->flags & LMB_NOMAP; +} + static int check_lmb(struct unit_test_state *uts, struct lmb *lmb, phys_addr_t ram_base, phys_size_t ram_size, unsigned long num_reserved, |
