aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-01-25 01:07:19 +0000
committerAndre Przywara <andre.przywara@arm.com>2020-02-25 09:34:38 +0000
commite21a788ee197ec66f6b8552e2274297bf4a095a8 (patch)
tree46174fb95971b3b1bbabeff08b4c0d98dddd2b11 /lib
parente8ada80a8496806c1f17ccbc6e2beec99d37f6c4 (diff)
downloadplatform_external_arm-trusted-firmware-e21a788ee197ec66f6b8552e2274297bf4a095a8.tar.gz
platform_external_arm-trusted-firmware-e21a788ee197ec66f6b8552e2274297bf4a095a8.tar.bz2
platform_external_arm-trusted-firmware-e21a788ee197ec66f6b8552e2274297bf4a095a8.zip
coreboot: Use generic base address
Since now the generic console_t structure holds the UART base address as well, let's use that generic location for the coreboot memory console. This removes the base member from the coreboot specific data structure, but keeps the struct console_cbmc_t and its size member. Change-Id: I7f1dffd41392ba3fe5c07090aea761a42313fb5b Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/coreboot/coreboot_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coreboot/coreboot_table.c b/lib/coreboot/coreboot_table.c
index 63bdc6359..253fac2ac 100644
--- a/lib/coreboot/coreboot_table.c
+++ b/lib/coreboot/coreboot_table.c
@@ -75,7 +75,7 @@ static void expand_and_mmap(uintptr_t baseaddr, size_t size)
static void setup_cbmem_console(uintptr_t baseaddr)
{
static console_cbmc_t console;
- assert(!console.base); /* should only have one CBMEM console */
+ assert(!console.console.base); /* should only have one CBMEM console */
/* CBMEM console structure stores its size in first header field. */
uint32_t size = *(uint32_t *)baseaddr;