diff options
author | Julius Werner <jwerner@chromium.org> | 2019-05-09 14:16:13 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2019-05-10 21:43:15 +0000 |
commit | 998dc17f522af6ef8fc7c85fa1e90fa7873fe7d1 (patch) | |
tree | f418d404f0586993728ea7c9d77b3aba54edd794 /src/lib/string.c | |
parent | a73e5a75b1b1ba03e7712d981456974e89a21264 (diff) |
vboot: Turn vboot_logic_executed() into a static inline
This patch moves vboot_logic_executed() (and its dependencies) into a
header and turns it into a static inline function. The function is used
to guard larger amounts of code in several places, so this should allow
us to save some more space through compile-time elimination (and also
makes it easier to avoid undefined reference issues in some cases).
Change-Id: I193f608882cbfe07dc91ee90d02fafbd67a3c324
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32716
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Diffstat (limited to 'src/lib/string.c')
0 files changed, 0 insertions, 0 deletions