tree: Use boolean for PchHdaDspEnable
[coreboot.git] / src / drivers / intel / fsp2_0 / include / fsp / graphics.h
bloba5f781f87fc6fb44e6eb7acf3c17c45b3d21f408
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef _FSP2_0_GRAPHICS_H_
4 #define _FSP2_0_GRAPHICS_H_
6 #include <types.h>
8 /*
9 * Report the fsp_graphics_info_guid HOB to framebuffer info.
11 * Must be called after PCI enumeration to make sure that the BAR
12 * doesn't change any more.
14 void fsp_report_framebuffer_info(const uintptr_t framebuffer_bar,
15 enum lb_fb_orientation orientation);
17 /* SoC Overrides */
19 * Check and report if an external display is attached
21 * Possible return values:
22 * 1 - An external device is attached.
23 * 0 - On-board display alone.
25 int fsp_soc_report_external_display(void);
27 #endif /* _FSP2_0_GRAPHICS_H_ */