diff options
author | Aaron Durbin <adurbin@chromium.org> | 2019-11-08 14:37:58 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-11 10:28:09 +0000 |
commit | 56aeae0400df8843b62bea85d0dbe27aaf0be325 (patch) | |
tree | 7df697460b26f9d0d40da88675e494106d6f0e63 /src/drivers/spi/Makefile.inc | |
parent | b1ea53d846b865d5fa1332fb2e31d0f2865a7fc0 (diff) |
region: publicize region_end() and add region_device_end()
Provide region_device_end() and make region_end() publically available
for use to match a pattern of open coding the offset + size calculation
for both struct region and struct region_device. Apply the use of the
helpers where the usage matches in the code.
Change-Id: Iaef5d007eef9a77f7f33b0e89298abef0197352d
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36689
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/spi/Makefile.inc')
0 files changed, 0 insertions, 0 deletions