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
0125b42e
Commit
0125b42e
authored
Feb 24, 2021
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Feb 24, 2021
Browse files
Merge "plat:xilinx:zynqmp: Remove the custom crash implementation" into integration
parents
964df136
830774bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/xilinx/zynqmp/aarch64/zynqmp_helpers.S
View file @
0125b42e
...
@@ -12,9 +12,6 @@
...
@@ -12,9 +12,6 @@
.
globl
plat_is_my_cpu_primary
.
globl
plat_is_my_cpu_primary
.
globl
zynqmp_calc_core_pos
.
globl
zynqmp_calc_core_pos
.
globl
plat_my_core_pos
.
globl
plat_my_core_pos
.
globl
plat_crash_console_init
.
globl
plat_crash_console_putc
.
globl
plat_crash_console_flush
.
globl
platform_mem_init
.
globl
platform_mem_init
/
*
-----------------------------------------------------
/
*
-----------------------------------------------------
...
@@ -79,45 +76,6 @@ func zynqmp_calc_core_pos
...
@@ -79,45 +76,6 @@ func zynqmp_calc_core_pos
ret
ret
endfunc
zynqmp_calc_core_pos
endfunc
zynqmp_calc_core_pos
/
*
---------------------------------------------
*
int
plat_crash_console_init
(
void
)
*
Function
to
initialize
the
crash
console
*
without
a
C
Runtime
to
print
crash
report
.
*
Clobber
list
:
x0
-
x4
*
---------------------------------------------
*/
func
plat_crash_console_init
mov_imm
x0
,
ZYNQMP_CRASH_UART_BASE
mov_imm
x1
,
ZYNQMP_CRASH_UART_CLK_IN_HZ
mov_imm
x2
,
ZYNQMP_UART_BAUDRATE
b
console_cdns_core_init
endfunc
plat_crash_console_init
/
*
---------------------------------------------
*
int
plat_crash_console_putc
(
int
c
)
*
Function
to
print
a
character
on
the
crash
*
console
without
a
C
Runtime
.
*
Clobber
list
:
x1
,
x2
*
---------------------------------------------
*/
func
plat_crash_console_putc
mov_imm
x1
,
ZYNQMP_CRASH_UART_BASE
b
console_cdns_core_putc
endfunc
plat_crash_console_putc
/
*
---------------------------------------------
*
void
plat_crash_console_flush
()
*
Function
to
force
a
write
of
all
buffered
*
data
that
hasn
't been output.
*
Out
:
void
.
*
Clobber
list
:
r0
*
---------------------------------------------
*/
func
plat_crash_console_flush
mov_imm
x0
,
ZYNQMP_CRASH_UART_BASE
b
console_cdns_core_flush
endfunc
plat_crash_console_flush
/
*
---------------------------------------------------------------------
/
*
---------------------------------------------------------------------
*
We
don
't need to carry out any memory initialization on ARM
*
We
don
't need to carry out any memory initialization on ARM
*
platforms
.
The
Secure
RAM
is
accessible
straight
away
.
*
platforms
.
The
Secure
RAM
is
accessible
straight
away
.
...
...
plat/xilinx/zynqmp/platform.mk
View file @
0125b42e
...
@@ -73,7 +73,8 @@ PLAT_BL_COMMON_SOURCES := lib/xlat_tables/xlat_tables_common.c \
...
@@ -73,7 +73,8 @@ PLAT_BL_COMMON_SOURCES := lib/xlat_tables/xlat_tables_common.c \
plat/arm/common/arm_gicv2.c
\
plat/arm/common/arm_gicv2.c
\
plat/common/plat_gicv2.c
\
plat/common/plat_gicv2.c
\
plat/xilinx/common/ipi.c
\
plat/xilinx/common/ipi.c
\
plat/xilinx/zynqmp/zynqmp_ipi.c
\
plat/xilinx/zynqmp/zynqmp_ipi.c
\
plat/common/aarch64/crash_console_helpers.S
\
plat/xilinx/zynqmp/aarch64/zynqmp_helpers.S
\
plat/xilinx/zynqmp/aarch64/zynqmp_helpers.S
\
plat/xilinx/zynqmp/aarch64/zynqmp_common.c
plat/xilinx/zynqmp/aarch64/zynqmp_common.c
...
...
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