summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2022-05-09 17:59:42 +0000
committerRyan Eatmon <reatmon@ti.com>2022-05-10 09:56:19 -0500
commitc2114fbbb4125ceae05b5bca65d5a33b3351aa50 (patch)
treeac8d92d0f7a33d8a2fd5134211c948ad695f3480
parent8fc1557c1238fda78ec4fd3da176c7da858ea7bf (diff)
downloadmeta-ti-c2114fbbb4125ceae05b5bca65d5a33b3351aa50.tar.gz
conf/machine: am62xx: Update build flag for low power mode
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@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-bsp/conf/machine/include/am62xx.inc2
-rw-r--r--meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend1
2 files changed, 3 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/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] = "mc::k3r5:ti-sci-fw:do_deploy"
19do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" 19do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
20 20
21TFA_BOARD = "lite" 21TFA_BOARD = "lite"
22TFA_K3_SYSTEM_SUSPEND = "1"
23
22OPTEEMACHINE = "k3-am65x" 24OPTEEMACHINE = "k3-am65x"
23OPTEEOUTPUTMACHINE = "k3" 25OPTEEOUTPUTMACHINE = "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-firmware-a_%.bbappend
index 32f913ca..45d56451 100644
--- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET:k3 = "bl31"
9TFA_SPD:k3 = "opteed" 9TFA_SPD:k3 = "opteed"
10 10
11EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" 11EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
12EXTRA_OEMAKE:append:k3 = "${@ ' K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
12 13
13do_compile:append:am65xx-hs-evm() { 14do_compile:append:am65xx-hs-evm() {
14 export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} 15 export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}