summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/include/fsp
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2021-09-14 13:59:33 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-16 00:09:36 +0000
commit84428f72d02583f1f2a7bf4470bace5d46c1bc4d (patch)
treecf6d4fe982176fe2c495e4be406bf754066074ca /src/drivers/intel/fsp2_0/include/fsp
parent629621160710f8862e5cac08f554917783795a89 (diff)
drivers/intel/fsp2_0: Pass orientation to fsp_report_framebuffer_info
Instead of always passing LB_FB_ORIENTATION_NORMAL, allow the chipsets implementing the callback to pass in an orientation. BUG=b:194967458 BRANCH=dedede Change-Id: I4aacab9449930a75aca9d68bf30d019f86035405 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57647 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/drivers/intel/fsp2_0/include/fsp')
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp2_0/include/fsp/graphics.h b/src/drivers/intel/fsp2_0/include/fsp/graphics.h
index 2d8138332f..dfd7b4e65b 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/graphics.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/graphics.h
@@ -11,6 +11,7 @@
* Must be called after PCI enumeration to make sure that the BAR
* doesn't change any more.
*/
-void fsp_report_framebuffer_info(const uintptr_t framebuffer_bar);
+void fsp_report_framebuffer_info(const uintptr_t framebuffer_bar,
+ enum lb_fb_orientation orientation);
#endif /* _FSP2_0_GRAPHICS_H_ */