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
55eae0d4
Commit
55eae0d4
authored
May 29, 2016
by
Soren Brinkmann
Browse files
zynqmp: Fix spelling of endianness
Signed-off-by:
Soren Brinkmann
<
soren.brinkmann@xilinx.com
>
parent
e3f0391e
Changes
1
Show whitespace changes
Inline
Side-by-side
plat/xilinx/zynqmp/plat_startup.c
View file @
55eae0d4
...
...
@@ -39,7 +39,7 @@
* Parameter bitfield encoding
* -----------------------------------------------------------------------------
* Exec State 0 0 -> Aarch64, 1-> Aarch32
* endianess 1 0 -> LE, 1 -> BE
* endian
n
ess 1 0 -> LE, 1 -> BE
* secure (TZ) 2 0 -> Non secure, 1 -> secure
* EL 3:4 00 -> EL0, 01 -> EL1, 10 -> EL2, 11 -> EL3
* CPU# 5:6 00 -> A53_0, 01 -> A53_1, 10 -> A53_2, 11 -> A53_3
...
...
@@ -134,7 +134,7 @@ static int get_fsbl_ss(const struct xfsbl_partition *partition)
/**
* @partition: Pointer to partition struct
*
* Get the target endianess for @partition.
* Get the target endian
n
ess for @partition.
*
* Return: SPSR_E_LITTLE or SPSR_E_BIG
*/
...
...
@@ -211,7 +211,7 @@ void fsbl_atf_handover(entry_point_info_t *bl32, entry_point_info_t *bl33)
for
(
size_t
i
=
0
;
i
<
ATFHandoffParams
->
num_entries
;
i
++
)
{
entry_point_info_t
*
image
;
int
target_estate
,
target_secure
;
int
target_cpu
,
target_endianess
,
target_el
;
int
target_cpu
,
target_endian
n
ess
,
target_el
;
VERBOSE
(
"BL31: %zd: entry:0x%lx, flags:0x%lx
\n
"
,
i
,
ATFHandoffParams
->
partition
[
i
].
entry_point
,
...
...
@@ -239,14 +239,14 @@ void fsbl_atf_handover(entry_point_info_t *bl32, entry_point_info_t *bl33)
}
target_estate
=
get_fsbl_estate
(
&
ATFHandoffParams
->
partition
[
i
]);
target_endianess
=
get_fsbl_endian
(
&
ATFHandoffParams
->
partition
[
i
]);
target_endian
n
ess
=
get_fsbl_endian
(
&
ATFHandoffParams
->
partition
[
i
]);
if
(
target_secure
==
FSBL_FLAGS_SECURE
)
{
image
=
bl32
;
if
(
target_estate
==
FSBL_FLAGS_ESTATE_A32
)
bl32
->
spsr
=
SPSR_MODE32
(
MODE32_svc
,
SPSR_T_ARM
,
target_endianess
,
target_endian
n
ess
,
DISABLE_ALL_EXCEPTIONS
);
else
bl32
->
spsr
=
SPSR_64
(
MODE_EL1
,
MODE_SP_ELX
,
...
...
@@ -261,7 +261,7 @@ void fsbl_atf_handover(entry_point_info_t *bl32, entry_point_info_t *bl33)
target_el
=
MODE32_sys
;
bl33
->
spsr
=
SPSR_MODE32
(
target_el
,
SPSR_T_ARM
,
target_endianess
,
target_endian
n
ess
,
DISABLE_ALL_EXCEPTIONS
);
}
else
{
if
(
target_el
==
FSBL_FLAGS_EL2
)
...
...
@@ -280,7 +280,7 @@ void fsbl_atf_handover(entry_point_info_t *bl32, entry_point_info_t *bl33)
target_el
);
image
->
pc
=
ATFHandoffParams
->
partition
[
i
].
entry_point
;
if
(
target_endianess
==
SPSR_E_BIG
)
if
(
target_endian
n
ess
==
SPSR_E_BIG
)
EP_SET_EE
(
image
->
h
.
attr
,
EP_EE_BIG
);
else
EP_SET_EE
(
image
->
h
.
attr
,
EP_EE_LITTLE
);
...
...
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