diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-01-25 01:07:19 +0000 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2020-02-25 09:34:38 +0000 |
commit | e21a788ee197ec66f6b8552e2274297bf4a095a8 (patch) | |
tree | 46174fb95971b3b1bbabeff08b4c0d98dddd2b11 /include | |
parent | e8ada80a8496806c1f17ccbc6e2beec99d37f6c4 (diff) | |
download | platform_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 'include')
-rw-r--r-- | include/drivers/coreboot/cbmem_console.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/drivers/coreboot/cbmem_console.h b/include/drivers/coreboot/cbmem_console.h index 40c90e6bb..30b39f14d 100644 --- a/include/drivers/coreboot/cbmem_console.h +++ b/include/drivers/coreboot/cbmem_console.h @@ -9,14 +9,12 @@ #include <drivers/console.h> -#define CONSOLE_T_CBMC_BASE CONSOLE_T_DRVDATA -#define CONSOLE_T_CBMC_SIZE (CONSOLE_T_DRVDATA + REGSZ) +#define CONSOLE_T_CBMC_SIZE CONSOLE_T_DRVDATA #ifndef __ASSEMBLER__ typedef struct { console_t console; - uintptr_t base; uint32_t size; } console_cbmc_t; |