[coreboot-gerrit] Patch set updated for coreboot: commonlib/region: Rename XLATE region device init macro
Furquan Shaikh (furquan@google.com)
gerrit at coreboot.org
Tue Jun 21 19:31:03 CEST 2016
Furquan Shaikh (furquan at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15277
-gerrit
commit affc6ae09df036e9183d536620e71e05bf1ae43d
Author: Furquan Shaikh <furquan at google.com>
Date: Mon Jun 20 11:51:28 2016 -0700
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 at google.com>
---
src/commonlib/include/commonlib/region.h | 2 +-
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 a13c66c..4e32b09 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 8009ab9..e58723c 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
);
More information about the coreboot-gerrit
mailing list