summaryrefslogtreecommitdiff
path: root/plat/ti
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2022-02-11 13:57:19 -0600
committerDave Gerlach <d-gerlach@ti.com>2022-04-27 12:06:53 -0500
commita9f46fad82b807a9f0a967245e3ac10ee8dd0ef1 (patch)
treefe06db7a13f3d65dfc77009da9a0740a70649d79 /plat/ti
parent38164e64bd853a8329475e9168c5fcb94ecc528b (diff)
downloadarm-trusted-firmware-a9f46fad82b807a9f0a967245e3ac10ee8dd0ef1.tar.gz
feat(ti): allow build config of low power mode support
Not all K3 platforms support low power mode, so to allow these features to be included for platforms that do in build and therefore reported in the PSCI caps, define K3_PM_SYSTEM_SUSPEND flag that can be set during build that will cause appropriate space and functionality to be included in build for system suspend support. Change-Id: I821fbbd5232d91de6c40f63254b855e285d9b3e8 Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'plat/ti')
-rw-r--r--plat/ti/k3/common/plat_common.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/plat/ti/k3/common/plat_common.mk b/plat/ti/k3/common/plat_common.mk
index ab7366b7e..e299c30cc 100644
--- a/plat/ti/k3/common/plat_common.mk
+++ b/plat/ti/k3/common/plat_common.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2017-2022, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -45,6 +45,10 @@ $(eval $(call add_define,K3_USART))
K3_USART_BAUD := 115200
$(eval $(call add_define,K3_USART_BAUD))
+# Enable system suspend modes
+K3_PM_SYSTEM_SUSPEND := 0
+$(eval $(call add_define,K3_PM_SYSTEM_SUSPEND))
+
# Libraries
include lib/xlat_tables_v2/xlat_tables.mk