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
435cdcf4
Commit
435cdcf4
authored
Nov 11, 2014
by
danh-arm
Browse files
Merge pull request #220 from soby-mathew/sm/reassign_crash_console
Use the BL3-1 runtime console as the crash console.
parents
6f80d60b
ce6ee933
Changes
2
Show whitespace changes
Inline
Side-by-side
plat/fvp/aarch64/fvp_helpers.S
View file @
435cdcf4
...
...
@@ -199,7 +199,7 @@ func platform_is_primary_cpu
ret
/
*
Define
a
crash
console
for
the
plaform
*/
#define FVP_CRASH_CONSOLE_BASE PL011_UART
0
_BASE
#define FVP_CRASH_CONSOLE_BASE PL011_UART
1
_BASE
/
*
---------------------------------------------
*
int
plat_crash_console_init
(
void
)
...
...
@@ -210,7 +210,7 @@ func platform_is_primary_cpu
*/
func
plat_crash_console_init
mov_imm
x0
,
FVP_CRASH_CONSOLE_BASE
mov_imm
x1
,
PL011_UART
0
_CLK_IN_HZ
mov_imm
x1
,
PL011_UART
1
_CLK_IN_HZ
mov_imm
x2
,
PL011_BAUDRATE
b
console_core_init
...
...
plat/juno/aarch64/plat_helpers.S
View file @
435cdcf4
...
...
@@ -44,7 +44,7 @@
.
globl
platform_mem_init
/
*
Define
a
crash
console
for
the
plaform
*/
#define JUNO_CRASH_CONSOLE_BASE PL011_UART
0
_BASE
#define JUNO_CRASH_CONSOLE_BASE PL011_UART
3
_BASE
/
*
---------------------------------------------
*
int
plat_crash_console_init
(
void
)
...
...
@@ -55,7 +55,7 @@
*/
func
plat_crash_console_init
mov_imm
x0
,
JUNO_CRASH_CONSOLE_BASE
mov_imm
x1
,
PL011_UART
0
_CLK_IN_HZ
mov_imm
x1
,
PL011_UART
3
_CLK_IN_HZ
mov_imm
x2
,
PL011_BAUDRATE
b
console_core_init
...
...
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