Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
ba7848e2
Unverified
Commit
ba7848e2
authored
Mar 25, 2018
by
davidcunado-arm
Committed by
GitHub
Mar 25, 2018
Browse files
Merge pull request #1330 from michpappas/tf-issues#571_qemu_fix_MULTI_CONSOLE=0
qemu: MULTI_CONSOLE_API=0 causes build error
parents
0d48df84
4c746fc5
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/drivers/console.h
View file @
ba7848e2
...
...
@@ -66,6 +66,8 @@ int console_flush(void);
/* REMOVED on AArch64 -- use console_<driver>_register() instead! */
int
console_init
(
uintptr_t
base_addr
,
unsigned
int
uart_clk
,
unsigned
int
baud_rate
);
int
console_core_init
(
uintptr_t
base_addr
,
unsigned
int
uart_clk
,
unsigned
int
baud_rate
);
void
console_uninit
(
void
);
#endif
...
...
plat/qemu/platform.mk
View file @
ba7848e2
...
...
@@ -169,7 +169,12 @@ $(eval $(call TOOL_ADD_IMG,bl32_extra2,--tos-fw-extra2))
endif
SEPARATE_CODE_AND_RODATA
:=
1
MULTI_CONSOLE_API
:=
1
# Use MULTI_CONSOLE_API by default only on AArch64
# as it is not yet supported on AArch32
ifeq
($(ARCH),aarch64)
MULTI_CONSOLE_API
:=
1
endif
# Disable the PSCI platform compatibility layer
ENABLE_PLAT_COMPAT
:=
0
...
...
plat/qemu/qemu_console.c
View file @
ba7848e2
...
...
@@ -7,8 +7,10 @@
#include <pl011.h>
#include <platform_def.h>
#if MULTI_CONSOLE_API
static
console_pl011_t
console
;
static
console_pl011_t
crash_console
;
#endif
/* MULTI_CONSOLE_API */
void
qemu_console_init
(
void
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment