soc/intel/common: Add panel_orientation field to common chip config
When the FSP driver fills out framebuffer information for the coreboot tables, it assumes the orientation is always normal. This patch provides a field for a mainboard to override the panel orientation from the default (LB_FB_ORIENTATION_NORMAL). Later patches will have the FSP driver use this value when filling out framebuffer information. BUG=b:194967458 BRANCH=dedede Change-Id: I559b3d6a076112a1c020ce5e296430d7ccba9ee4 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57558 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
d19d27ac3f
commit
6296211607
|
@ -3,6 +3,7 @@
|
|||
#ifndef SOC_INTEL_COMMON_BLOCK_CFG_H
|
||||
#define SOC_INTEL_COMMON_BLOCK_CFG_H
|
||||
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <intelblocks/gspi.h>
|
||||
#include <drivers/i2c/designware/dw_i2c.h>
|
||||
#include <intelblocks/mmc.h>
|
||||
|
@ -24,6 +25,7 @@ struct soc_intel_common_config {
|
|||
/* PCH Thermal Trip Temperature in deg C */
|
||||
uint8_t pch_thermal_trip;
|
||||
struct mmc_dll_params emmc_dll;
|
||||
enum lb_fb_orientation panel_orientation;
|
||||
};
|
||||
|
||||
/* This function to retrieve soc config structure required by common code */
|
||||
|
|
Loading…
Reference in New Issue