summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/arch/armv7/coreboot.c2
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);
}