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>
This commit is contained in:
Isaac Christensen 2014-08-14 12:23:24 -06:00 committed by Patrick Georgi
parent a0a3727dbb
commit 3efc52fc08
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}