summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2022-05-04 18:49:30 -0500
committerRyan Eatmon <reatmon@ti.com>2022-05-04 20:27:06 -0500
commit53a8a8a82cd05ba931db83496a4d5916fa10f864 (patch)
treeec1f0d479d87ae2ef88c93870f04e68032eeffb4
parentc86df4f36955c6c7472fc67246b61e9624f486fd (diff)
downloadmeta-ti-53a8a8a82cd05ba931db83496a4d5916fa10f864.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>
-rw-r--r--conf/machine/include/am62xx.inc2
-rw-r--r--recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend1
2 files changed, 3 insertions, 0 deletions
diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..ff857b97 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen"
6SERIAL_CONSOLES = "115200;ttyS2" 6SERIAL_CONSOLES = "115200;ttyS2"
7SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" 7SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
8 8
9TFA_K3_SYSTEM_SUSPEND = "1"
10
9# AM62 supports multi-certificate images, use the same 11# AM62 supports multi-certificate images, use the same
10IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}" 12IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
11 13
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 80b1d664..68bfa899 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/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}