diff options
author | Furquan Shaikh <furquan@google.com> | 2016-06-20 11:51:28 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-06-21 20:09:34 +0200 |
commit | f4dac8ac06512c8ed00a58cacae453c128a159de (patch) | |
tree | f99eae02a43e40eb045921ea93978c2b5d426913 | |
parent | bae6383607ecf2415206e98c58da47cb10b66f7d (diff) |
commonlib/region: Rename XLATE region device init macro
This makes the name consistent with other region device init macros.
Change-Id: I248894ba6c85326b615dcb71e8f498bc8be50911
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/15277
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-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 ); |