drivers/usb/acpi: Don't add GPIOs to _CRS for Intel Bluetooth
[coreboot2.git] / src / soc / amd / common / fsp / fsp_graphics.c
blob3e082e66ac7bb31c88618b0e5349f802c036c009
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <amdblocks/graphics.h>
4 #include <console/console.h>
5 #include <device/device.h>
6 #include <device/pci.h>
7 #include <fsp/graphics.h>
9 void fsp_graphics_init(struct device *const dev)
11 struct resource *res = probe_resource(dev, PCI_BASE_ADDRESS_0);
13 if (res && res->base)
14 fsp_report_framebuffer_info(res->base, LB_FB_ORIENTATION_NORMAL);
15 else
16 printk(BIOS_ERR, "%s: Unable to find resource for %s\n",
17 __func__, dev_path(dev));