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
5d3cf745
Commit
5d3cf745
authored
4 years ago
by
Manish Pandey
Committed by
TrustedFirmware Code Review
4 years ago
Browse files
Options
Download
Plain Diff
Merge "plat: marvell: armada: a3k: Add new compile option A3720_DB_PM_WAKEUP_SRC" into integration
parents
d3555651
f2800a47
master
v2.5
v2.5-rc1
v2.5-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/plat/marvell/armada/build.rst
+5
-0
docs/plat/marvell/armada/build.rst
plat/marvell/armada/a3k/a3700/board/pm_src.c
+1
-1
plat/marvell/armada/a3k/a3700/board/pm_src.c
plat/marvell/armada/a3k/common/a3700_common.mk
+4
-3
plat/marvell/armada/a3k/common/a3700_common.mk
plat/marvell/armada/a3k/common/plat_pm.c
+7
-0
plat/marvell/armada/a3k/common/plat_pm.c
with
17 additions
and
4 deletions
+17
-4
docs/plat/marvell/armada/build.rst
View file @
5d3cf745
...
...
@@ -112,6 +112,11 @@ There are several build options:
This option is needed on Turris MOX as a workaround to a HW bug which causes reset to
sometime hang the board.
- A3720_DB_PM_WAKEUP_SRC
For Armada 3720 Develpment Board only, when ``A3720_DB_PM_WAKEUP_SRC=1``,
TF-A will setup PM wake up src configuration. This option is disabled by default.
- MARVELL_SECURE_BOOT
Build trusted(=1)/non trusted(=0) image, default is non trusted.
...
...
This diff is collapsed.
Click to expand it.
plat/marvell/armada/a3k/a3700/board/pm_src.c
View file @
5d3cf745
...
...
@@ -8,7 +8,7 @@
#include <a3700_pm.h>
#include <plat_marvell.h>
/* This struct provides the PM wake up src configuration */
/* This struct provides the PM wake up src configuration
for A3720 Development Board
*/
static
struct
pm_wake_up_src_config
wake_up_src_cfg
=
{
.
wake_up_src_num
=
3
,
.
wake_up_src
[
0
]
=
{
...
...
This diff is collapsed.
Click to expand it.
plat/marvell/armada/a3k/common/a3700_common.mk
View file @
5d3cf745
...
...
@@ -43,8 +43,6 @@ PLAT_BL_COMMON_SOURCES := $(PLAT_COMMON_BASE)/aarch64/a3700_common.c \
BL1_SOURCES
+=
$(PLAT_COMMON_BASE)
/aarch64/plat_helpers.S
\
lib/cpus/aarch64/cortex_a53.S
BL31_PORTING_SOURCES
:=
$(PLAT_FAMILY_BASE)
/
$(PLAT)
/board/pm_src.c
MARVELL_DRV
:=
$(MARVELL_DRV_BASE)
/comphy/phy-comphy-3700.c
BL31_SOURCES
+=
lib/cpus/aarch64/cortex_a53.S
\
...
...
@@ -61,7 +59,6 @@ BL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \
$(MARVELL_COMMON_BASE)
/marvell_gicv3.c
\
$(MARVELL_GIC_SOURCES)
\
drivers/arm/cci/cci.c
\
$(BL31_PORTING_SOURCES)
\
$(PLAT_COMMON_BASE)
/a3700_sip_svc.c
\
$(MARVELL_DRV)
...
...
@@ -69,6 +66,10 @@ ifeq ($(CM3_SYSTEM_RESET),1)
BL31_SOURCES
+=
$(PLAT_COMMON_BASE)
/cm3_system_reset.c
endif
ifeq
($(A3720_DB_PM_WAKEUP_SRC),1)
BL31_SOURCES
+=
$(PLAT_FAMILY_BASE)
/
$(PLAT)
/board/pm_src.c
endif
ifdef
WTP
$(if
$(wildcard
$(value
WTP)/*),,$(error
"'WTP=$(value WTP)' was specified, but '$(value WTP)' directory does not exist"
))
...
...
This diff is collapsed.
Click to expand it.
plat/marvell/armada/a3k/common/plat_pm.c
View file @
5d3cf745
...
...
@@ -590,6 +590,13 @@ static wake_up_src_func a3700_get_wake_up_src_func(
return
NULL
;
}
#pragma weak mv_wake_up_src_config_get
struct
pm_wake_up_src_config
*
mv_wake_up_src_config_get
(
void
)
{
static
struct
pm_wake_up_src_config
wake_up_src_cfg
=
{};
return
&
wake_up_src_cfg
;
}
static
void
a3700_set_wake_up_source
(
void
)
{
struct
pm_wake_up_src_config
*
wake_up_src
;
...
...
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