src: Replace remaining {get,set}_option() instances
With this change, the type-unsafe {get,set}_option() API functions are no longer used directly. The old API gets dropped in a follow-up. Change-Id: Id3f3e172c850d50a7d2f348b1c3736969c73837d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52512 Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@ -26,7 +26,7 @@ static void init_log_level(void)
|
||||
console_loglevel = get_console_loglevel();
|
||||
|
||||
if (!FIRST_CONSOLE)
|
||||
get_option(&console_loglevel, "debug_level");
|
||||
console_loglevel = get_int_option("debug_level", console_loglevel);
|
||||
}
|
||||
|
||||
int console_log_level(int msg_level)
|
||||
|
Reference in New Issue
Block a user