Hello build bot (Jenkins), Nico Huber, Patrick Georgi, Arthur Heymans, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/47107
to look at the new patch set (#3).
Change subject: option.h: Add strongly-typed `get_option` wrappers ......................................................................
option.h: Add strongly-typed `get_option` wrappers
Most users of `get_option` have a value to fall back to in case there's an error. Introduce `get_X_option` wrappers which return the CMOS value on success and a specified fallback value on failure. Furthermore, they are strongly-typed to ease dropping the highly-unsafe `get_option` API.
Change-Id: I6bbc51135216f34518cfd05c3dc90fb68404c1cc Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/include/option.h 1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/47107/3