diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commonlib/include/commonlib/region.h | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/mmap_boot.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commonlib/include/commonlib/region.h b/src/commonlib/include/commonlib/region.h index a13c66c316..4e32b09be0 100644 --- a/src/commonlib/include/commonlib/region.h +++ b/src/commonlib/include/commonlib/region.h @@ -177,7 +177,7 @@ struct xlate_region_device { extern const struct region_device_ops xlate_rdev_ops; -#define XLATE_REGION_INIT(access_dev_, sub_offset_, sub_size_, parent_sz_) \ +#define XLATE_REGION_DEV_INIT(access_dev_, sub_offset_, sub_size_, parent_sz_) \ { \ .access_dev = access_dev_, \ .sub_region = { \ diff --git a/src/soc/intel/apollolake/mmap_boot.c b/src/soc/intel/apollolake/mmap_boot.c index 8009ab9568..e58723c812 100644 --- a/src/soc/intel/apollolake/mmap_boot.c +++ b/src/soc/intel/apollolake/mmap_boot.c @@ -44,7 +44,7 @@ static const struct mem_region_device shadow_dev = MEM_REGION_DEV_INIT( * essence this means "BIOS" region (usually starts at flash physical 0x1000 is mapped to * 4G - IFD_BIOS_SIZE. */ -static const struct xlate_region_device real_dev = XLATE_REGION_INIT( +static const struct xlate_region_device real_dev = XLATE_REGION_DEV_INIT( &shadow_dev.rdev, CONFIG_IFD_BIOS_START, IFD_MAPPED_SIZE, CONFIG_ROM_SIZE ); |