Braswell: Remove GOP from normal boot mode.
Removing GOP initialization in normal mode since we don't need to show splash screen in normal mode. GOP will get initialized in dev and recovery mode. BRANCH=none BUG=None TEST=Splash screen will come only in dev or recovery mode. Change-Id: Ia5e12cf45d723f2f14c447e29b78119552d5e1ea Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 79d1c877343704ea51143b922d9ac9209be4d4b5 Original-Change-Id: Id5ca99757427206413483d07b4f422b4c0abfa5d Original-Signed-off-by: Abhay <abhay.kumar@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/285300 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/10990 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
27d153cabc
commit
9b71b0e000
|
@ -24,6 +24,7 @@
|
||||||
#include <lib.h>
|
#include <lib.h>
|
||||||
#include <soc/intel/common/ramstage.h>
|
#include <soc/intel/common/ramstage.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
||||||
/* Locate VBT and pass it to FSP GOP */
|
/* Locate VBT and pass it to FSP GOP */
|
||||||
void load_vbt(uint8_t s3_resume, SILICON_INIT_UPD *params)
|
void load_vbt(uint8_t s3_resume, SILICON_INIT_UPD *params)
|
||||||
|
@ -36,12 +37,15 @@ void load_vbt(uint8_t s3_resume, SILICON_INIT_UPD *params)
|
||||||
vbt_data = NULL;
|
vbt_data = NULL;
|
||||||
printk(BIOS_DEBUG, "S3 resume do not pass VBT to GOP\n");
|
printk(BIOS_DEBUG, "S3 resume do not pass VBT to GOP\n");
|
||||||
} else {
|
} else {
|
||||||
/* Get VBT data */
|
if (developer_mode_enabled() || recovery_mode_enabled()) {
|
||||||
vbt_data = fsp_get_vbt(&vbt_len);
|
/* Get VBT data */
|
||||||
if (vbt_data != NULL)
|
vbt_data = fsp_get_vbt(&vbt_len);
|
||||||
printk(BIOS_DEBUG, "Passing VBT to GOP\n");
|
if (vbt_data != NULL)
|
||||||
else
|
printk(BIOS_DEBUG, "Passing VBT to GOP\n");
|
||||||
printk(BIOS_DEBUG, "VBT not found!\n");
|
else
|
||||||
|
printk(BIOS_DEBUG, "VBT not found!\n");
|
||||||
|
} else
|
||||||
|
vbt_data = NULL;
|
||||||
}
|
}
|
||||||
params->PcdGraphicsConfigPtr = (u32)vbt_data;
|
params->PcdGraphicsConfigPtr = (u32)vbt_data;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue