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>
This commit is contained in:
parent
bae6383607
commit
f4dac8ac06
|
@ -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 = { \
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue