mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00
fix(versal2): rename console build arg to generic
Rename VERSAL2_CONSOLE build argument to CONSOLE to keep it aligned with generic build arguments. Change-Id: I0f4967aa262f0300d8f76f6638030a1839901234 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
This commit is contained in:
parent
fa8ca8bcd0
commit
2333ab4cd2
2 changed files with 11 additions and 11 deletions
|
@ -15,14 +15,14 @@
|
|||
#define MAX_INTR_EL3 2U
|
||||
|
||||
/* List all consoles */
|
||||
#define VERSAL2_CONSOLE_ID_none 0
|
||||
#define VERSAL2_CONSOLE_ID_pl011 1
|
||||
#define VERSAL2_CONSOLE_ID_pl011_0 1
|
||||
#define VERSAL2_CONSOLE_ID_pl011_1 2
|
||||
#define VERSAL2_CONSOLE_ID_dcc 3
|
||||
#define VERSAL2_CONSOLE_ID_dtb 4
|
||||
#define CONSOLE_ID_none 0
|
||||
#define CONSOLE_ID_pl011 1
|
||||
#define CONSOLE_ID_pl011_0 1
|
||||
#define CONSOLE_ID_pl011_1 2
|
||||
#define CONSOLE_ID_dcc 3
|
||||
#define CONSOLE_ID_dtb 4
|
||||
|
||||
#define CONSOLE_IS(con) (VERSAL2_CONSOLE_ID_ ## con == VERSAL2_CONSOLE)
|
||||
#define CONSOLE_IS(con) (CONSOLE_ID_ ## con == CONSOLE)
|
||||
|
||||
/* Runtime console */
|
||||
#define RT_CONSOLE_ID_pl011 1
|
||||
|
|
|
@ -71,13 +71,13 @@ endif
|
|||
USE_COHERENT_MEM := 0
|
||||
HW_ASSISTED_COHERENCY := 1
|
||||
|
||||
VERSAL2_CONSOLE ?= pl011
|
||||
ifeq (${VERSAL2_CONSOLE}, $(filter ${VERSAL2_CONSOLE},pl011 pl011_0 pl011_1 dcc dtb none))
|
||||
CONSOLE ?= pl011
|
||||
ifeq (${CONSOLE}, $(filter ${CONSOLE},pl011 pl011_0 pl011_1 dcc dtb none))
|
||||
else
|
||||
$(error "Please define VERSAL2_CONSOLE")
|
||||
$(error "Please define CONSOLE")
|
||||
endif
|
||||
|
||||
$(eval $(call add_define_val,VERSAL2_CONSOLE,VERSAL2_CONSOLE_ID_${VERSAL2_CONSOLE}))
|
||||
$(eval $(call add_define_val,CONSOLE,CONSOLE_ID_${CONSOLE}))
|
||||
|
||||
# Runtime console in default console in DEBUG build
|
||||
ifeq ($(DEBUG), 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue