diff options
author | Isaac Christensen <isaac.christensen@se-eng.com> | 2014-08-14 12:23:24 -0600 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-16 08:34:32 +0200 |
commit | 3efc52fc0801673ee578be825023bfd7ac32b30a (patch) | |
tree | fd26dc9ca52bcec8005e1e888d811d225c8649dc /payloads/libpayload/arch | |
parent | a0a3727dbbd7f3ae9f9021e0797ce2fc61d1b79e (diff) |
libpayload: change cb_range to lb_range
Patch 'coreboot_tables: reduce redundant data structures' (1f5487a)
added a new lb_range structure to coreboot and libpayload but the
original chromium patch added cb_range to libpayload instead. A followup
patch 'arm: libpayload: Add cache coherent DMA memory definition
and management' (b8fad3d) used the incorrect cb_range structure but
this wasn't caught since the current verification build doesn't
build libpayload for arm.
Change-Id: I7cedc66a4794bf4daa214f54be6e917f96418ff6
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6665
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r-- | payloads/libpayload/arch/armv7/coreboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/armv7/coreboot.c b/payloads/libpayload/arch/armv7/coreboot.c index e16c354d6b..1397fc1be2 100644 --- a/payloads/libpayload/arch/armv7/coreboot.c +++ b/payloads/libpayload/arch/armv7/coreboot.c @@ -110,7 +110,7 @@ static void cb_parse_vdat(unsigned char *ptr, struct sysinfo_t *info) static void cb_parse_dma(unsigned char *ptr) { - struct cb_range *dma = (struct cb_range *)ptr; + struct lb_range *dma = (struct lb_range *)ptr; init_dma_memory(phys_to_virt(dma->range_start), dma->range_size); } |