drivers/intel/mipi_camera: Flesh out SSDB platform enum
Rename `intel_camera_platform_type` to `platform_type` and populate it using the available values from the Intel Camera DDK available on Windows Update and slimbootloader. Change-Id: I7c40e29dbf71caf7b655e8f2e5b4be7cc6970194 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90184 Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0361e1a865
commit
c91ea7c582
2 changed files with 22 additions and 10 deletions
|
|
@ -297,7 +297,7 @@ static void camera_fill_ssdb_defaults(struct drivers_intel_mipi_camera_config *c
|
||||||
config->ssdb.bdf_value = PCI_DEVFN(CIO2_PCI_DEV, CIO2_PCI_FN);
|
config->ssdb.bdf_value = PCI_DEVFN(CIO2_PCI_DEV, CIO2_PCI_FN);
|
||||||
|
|
||||||
if (!config->ssdb.platform)
|
if (!config->ssdb.platform)
|
||||||
config->ssdb.platform = PLATFORM_SKC;
|
config->ssdb.platform = PLAT_SKC;
|
||||||
|
|
||||||
if (!config->ssdb.flash_support)
|
if (!config->ssdb.flash_support)
|
||||||
config->ssdb.flash_support = FLASH_DISABLE;
|
config->ssdb.flash_support = FLASH_DISABLE;
|
||||||
|
|
|
||||||
|
|
@ -14,15 +14,27 @@ enum camera_device_type {
|
||||||
DEV_TYPE_ROM
|
DEV_TYPE_ROM
|
||||||
};
|
};
|
||||||
|
|
||||||
enum intel_camera_platform_type {
|
enum platform_type {
|
||||||
PLATFORM_BXT = 8,
|
PLAT_UNK,
|
||||||
PLATFORM_SKC = 9,
|
PLAT_BYT,
|
||||||
PLATFORM_CNL = 10,
|
PLAT_CHT,
|
||||||
PLATFORM_TGL = 12,
|
PLAT_CHT1,
|
||||||
PLATFORM_JSL = 14,
|
PLAT_CHT2,
|
||||||
PLATFORM_ADL = 15,
|
PLAT_CHT_CR,
|
||||||
PLATFORM_MTL = 16,
|
PLAT_CHT_COPOP,
|
||||||
PLATFORM_LNL = 17
|
PLAT_BSW,
|
||||||
|
PLAT_BXT,
|
||||||
|
PLAT_SKC,
|
||||||
|
PLAT_CNL,
|
||||||
|
PLAT_LKF,
|
||||||
|
PLAT_TGL,
|
||||||
|
PLAT_TGL_H,
|
||||||
|
PLAT_JSL,
|
||||||
|
PLAT_ADL,
|
||||||
|
PLAT_MTL,
|
||||||
|
PLAT_LNL,
|
||||||
|
PLAT_PTL,
|
||||||
|
PLAT_NVL,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum intel_camera_flash_type {
|
enum intel_camera_flash_type {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue