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
);
14 fsp_report_framebuffer_info(res
->base
, LB_FB_ORIENTATION_NORMAL
);
16 printk(BIOS_ERR
, "%s: Unable to find resource for %s\n",
17 __func__
, dev_path(dev
));