soc/amd/common/block/graphics/graphics: GOP: implement vbt_get()
Even though AMD does not need VBT we still need to implement the vbt_get() function to not break the build with GOP driver enabled (see fsps_return_value_handler() in fsp2_0/silicon_init.c BUG=b:171234996 BRANCH=Zork Change-Id: I80a5131a9852a05998b55b847243748d24cf535f Signed-off-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49865 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
parent
612e403d53
commit
ad68e69612
1 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <device/pci_ids.h>
|
||||
#include <console/console.h>
|
||||
#include <fsp/graphics.h>
|
||||
#include <soc/intel/common/vbt.h>
|
||||
|
||||
#define ATIF_FUNCTION_VERIFY_INTERFACE 0x0
|
||||
struct atif_verify_interface_output {
|
||||
|
@ -118,6 +119,16 @@ static const char *graphics_acpi_name(const struct device *dev)
|
|||
return "IGFX";
|
||||
}
|
||||
|
||||
/*
|
||||
* Even though AMD does not need VBT we still need to implement the
|
||||
* vbt_get() function to not break the build with GOP driver enabled
|
||||
* (see fsps_return_value_handler() in fsp2_0/silicon_init.c
|
||||
*/
|
||||
void *vbt_get(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void graphics_dev_init(struct device *const dev)
|
||||
{
|
||||
if (CONFIG(RUN_FSP_GOP)) {
|
||||
|
|
Loading…
Reference in a new issue