Bora Guvendik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/87032?usp=email )
Change subject: vc/google/chromeos: Add TPM_GOOGLE config check for logo selection ......................................................................
vc/google/chromeos: Add TPM_GOOGLE config check for logo selection
This commit introduces a conditional check for the TPM_GOOGLE configuration within the bmp_logo_filename function.
BUG=none Test=build ptlrvp with internal EC and external EC
Change-Id: I03430f095e84978b3a07a1fd5a2a0ec05e166a0f Signed-off-by: Bora Guvendik bora.guvendik@intel.com --- M src/vendorcode/google/chromeos/splash.c 1 file changed, 7 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/87032/1
diff --git a/src/vendorcode/google/chromeos/splash.c b/src/vendorcode/google/chromeos/splash.c index f63f526..248186e 100644 --- a/src/vendorcode/google/chromeos/splash.c +++ b/src/vendorcode/google/chromeos/splash.c @@ -5,10 +5,12 @@
const char *bmp_logo_filename(void) { - if (chromeos_device_branded_plus_hard()) - return "cb_plus_logo.bmp"; - else if (chromeos_device_branded_plus_soft()) - return "cb_plus_logo.bmp"; - else + + if(CONFIG(TPM_GOOGLE)) { + if (chromeos_device_branded_plus_hard()) + return "cb_plus_logo.bmp"; + else if (chromeos_device_branded_plus_soft()) + return "cb_plus_logo.bmp"; + }else return "cb_logo.bmp"; }