From 3efc52fc0801673ee578be825023bfd7ac32b30a Mon Sep 17 00:00:00 2001 From: Isaac Christensen Date: Thu, 14 Aug 2014 12:23:24 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/6665 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Paul Menzel --- payloads/libpayload/arch/armv7/coreboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/libpayload/arch/armv7/coreboot.c') 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); } -- cgit v1.2.3