diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c index 4268646de8..24a424dba5 100644 --- a/src/drivers/intel/mipi_camera/camera.c +++ b/src/drivers/intel/mipi_camera/camera.c @@ -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); if (!config->ssdb.platform) - config->ssdb.platform = PLATFORM_SKC; + config->ssdb.platform = PLAT_SKC; if (!config->ssdb.flash_support) config->ssdb.flash_support = FLASH_DISABLE; diff --git a/src/drivers/intel/mipi_camera/ssdb.h b/src/drivers/intel/mipi_camera/ssdb.h index 318fb2e8c5..f7c7280623 100644 --- a/src/drivers/intel/mipi_camera/ssdb.h +++ b/src/drivers/intel/mipi_camera/ssdb.h @@ -14,15 +14,27 @@ enum camera_device_type { DEV_TYPE_ROM }; -enum intel_camera_platform_type { - PLATFORM_BXT = 8, - PLATFORM_SKC = 9, - PLATFORM_CNL = 10, - PLATFORM_TGL = 12, - PLATFORM_JSL = 14, - PLATFORM_ADL = 15, - PLATFORM_MTL = 16, - PLATFORM_LNL = 17 +enum platform_type { + PLAT_UNK, + PLAT_BYT, + PLAT_CHT, + PLAT_CHT1, + PLAT_CHT2, + PLAT_CHT_CR, + PLAT_CHT_COPOP, + 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 {