aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/cannonlake/Kconfig4
-rw-r--r--src/soc/intel/cannonlake/romstage/romstage.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/Kconfig b/src/soc/intel/cannonlake/Kconfig
index c32e4c2142..f72c2b302a 100644
--- a/src/soc/intel/cannonlake/Kconfig
+++ b/src/soc/intel/cannonlake/Kconfig
@@ -92,6 +92,10 @@ config IED_REGION_SIZE
hex
default 0x400000
+config MAX_ROOT_PORTS
+ int
+ default 24
+
config SMM_TSEG_SIZE
hex
default 0x800000
diff --git a/src/soc/intel/cannonlake/romstage/romstage.c b/src/soc/intel/cannonlake/romstage/romstage.c
index 5fa39ca933..483f44b9d0 100644
--- a/src/soc/intel/cannonlake/romstage/romstage.c
+++ b/src/soc/intel/cannonlake/romstage/romstage.c
@@ -68,7 +68,7 @@ asmlinkage void car_stage_entry(void)
static void soc_memory_init_params(FSP_M_CONFIG *m_cfg, const config_t *config)
{
- int i;
+ unsigned int i;
uint32_t mask = 0;
m_cfg->TsegSize = CONFIG_SMM_TSEG_SIZE;