summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake')
-rw-r--r--src/soc/intel/apollolake/memmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/memmap.c b/src/soc/intel/apollolake/memmap.c
index 7494481fa5..17dfb3f545 100644
--- a/src/soc/intel/apollolake/memmap.c
+++ b/src/soc/intel/apollolake/memmap.c
@@ -68,6 +68,8 @@ int smm_subregion(int sub, uintptr_t *start, size_t *size)
sub_size = cache_size;
break;
default:
+ *start = 0;
+ *size = 0;
return -1;
}