Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
5c0df525
Commit
5c0df525
authored
8 years ago
by
danh-arm
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #762 from douglas-raillard-arm/dr/doc_build_info
Clarify dependency for PSCI_EXTENDED_STATE_ID
parents
5ff74aaf
91a422d6
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/user-guide.md
+2
-1
docs/user-guide.md
plat/arm/common/arm_common.mk
+4
-3
plat/arm/common/arm_common.mk
with
6 additions
and
4 deletions
+6
-4
docs/user-guide.md
View file @
5c0df525
...
...
@@ -380,7 +380,8 @@ performed.
means by default the original power-state format is used by the PSCI
implementation. This flag should be specified by the platform makefile
and it governs the return value of PSCI_FEATURES API for CPU_SUSPEND
smc function id.
smc function id. When this option is enabled on ARM platforms, the
option
`ARM_RECOM_STATE_ID_ENC`
needs to be set to 1 as well.
*
`RESET_TO_BL31`
: Enable BL31 entrypoint as the CPU reset vector instead
of the BL1 entrypoint. It can take the value 0 (CPU reset to BL1
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/arm_common.mk
View file @
5c0df525
...
...
@@ -58,11 +58,12 @@ endif
# State-ID encoding to be parsed.
ARM_RECOM_STATE_ID_ENC
:=
0
# If the PSCI_EXTENDED_STATE_ID is set, then
the recommended state ID
need to
# be
u
se
d
. Else throw a build error.
# If the PSCI_EXTENDED_STATE_ID is set, then
ARM_RECOM_STATE_ID_ENC
need to
# be se
t
. Else throw a build error.
ifeq
(${PSCI_EXTENDED_STATE_ID}, 1)
ifeq
(${ARM_RECOM_STATE_ID_ENC}, 0)
$(error
"Incompatible STATE_ID build option specified"
)
$(error
Build
option
ARM_RECOM_STATE_ID_ENC
needs
to
be
set
if
\
PSCI_EXTENDED_STATE_ID
is
set
for
ARM
platforms)
endif
endif
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help