chromeos: vboot-related functions move to common vboot code
This moves a few vboot-prefixed functions that were defined in chromeos.c to
vboot_common.c, since those are only relevant to vboot and depend on the vboot
handoff data. This allows more separation between CONFIG_CHROMEOS and what
CONFIG_CHROMEOS selects, so that each separate option (such as
CONFIG_VBOOT_VERIFY_FIRMWARE) can be enabled separately.
Thus, the actual definitions of these functions will only be declared when
CONFIG_VBOOT_VERIFY_FIRMWARE is set, so the check before calling
vboot_skip_display_init in bootmode was also adapted.
Signed-off-by: Paul Kocialkowski <firstname.lastname@example.org>
Reviewed-by: Aaron Durbin <email@example.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <firstname.lastname@example.org>
4 files changed