[master][PATCH 05/10] conf/machine: am62xx: Update build flag for low power mode


Denys Dmytriyenko
 

From: Nishanth Menon <nm@...>

Update build flag for arm-trusted-firmware to include low power mode
support

K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables
low power mode support for am62xx.

Signed-off-by: Nishanth Menon <nm@...>
Signed-off-by: Praneeth Bajjuri <praneeth@...>
Signed-off-by: Ryan Eatmon <reatmon@...>
Signed-off-by: Denys Dmytriyenko <denys@...>
---
meta-ti-bsp/conf/machine/include/am62xx.inc | 2 ++
.../trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)

diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/co=
nf/machine/include/am62xx.inc
index bcf435f5..fff1312f 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -19,5 +19,7 @@ do_image_wic[mcdepends] =3D "mc::k3r5:ti-sci-fw:do_depl=
oy"
do_image_tar[mcdepends] =3D "mc::k3r5:ti-sci-fw:do_deploy"
=20
TFA_BOARD =3D "lite"
+TFA_K3_SYSTEM_SUSPEND =3D "1"
+
OPTEEMACHINE =3D "k3-am65x"
OPTEEOUTPUTMACHINE =3D "k3"
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-=
a_%.bbappend b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmwar=
e-a_%.bbappend
index 32f913ca..45d56451 100644
--- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bba=
ppend
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bba=
ppend
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET:k3 =3D "bl31"
TFA_SPD:k3 =3D "opteed"
=20
EXTRA_OEMAKE:append:k3 =3D "${@ ' K3_USART=3D' + d.getVar('TFA_K3_USART'=
) if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE:append:k3 =3D "${@ ' K3_PM_SYSTEM_SUSPEND=3D' + d.getVar('T=
FA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
=20
do_compile:append:am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=3D${TI_SECURE_DEV_PKG}
--=20
2.25.1