[dunfell] conf/machine: am62xx: Update build flag for low power mode

Message ID 20220503192509.24537-1-praneeth@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [dunfell] conf/machine: am62xx: Update build flag for low power mode | expand

Commit Message

Bajjuri, Praneeth May 3, 2022, 7:25 p.m. UTC
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: Praneeth Bajjuri <praneeth@ti.com>
---
 conf/machine/include/am62xx.inc | 1 +
 1 file changed, 1 insertion(+)

Comments

Denys Dmytriyenko May 3, 2022, 8:16 p.m. UTC | #1
On Tue, May 03, 2022 at 02:25:09PM -0500, Praneeth Bajjuri wrote:
> 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: Praneeth Bajjuri <praneeth@ti.com>
> ---
>  conf/machine/include/am62xx.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
> index e8823dd2..59cb7053 100644
> --- a/conf/machine/include/am62xx.inc
> +++ b/conf/machine/include/am62xx.inc
> @@ -13,5 +13,6 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
>  do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
>  
>  TFA_BOARD = "lite"
> +K3_PM_SYSTEM_SUSPEND = "1"

How is this getting passed to ATF?


>  OPTEEMACHINE = "k3-am65x"
>  OPTEEOUTPUTMACHINE = "k3"
> -- 
> 2.17.1
>
Bajjuri, Praneeth May 4, 2022, 11:33 p.m. UTC | #2
On 5/3/2022 3:16 PM, Denys Dmytriyenko wrote:
> On Tue, May 03, 2022 at 02:25:09PM -0500, Praneeth Bajjuri wrote:
>> 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: Praneeth Bajjuri <praneeth@ti.com>
>> ---
>>   conf/machine/include/am62xx.inc | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
>> index e8823dd2..59cb7053 100644
>> --- a/conf/machine/include/am62xx.inc
>> +++ b/conf/machine/include/am62xx.inc
>> @@ -13,5 +13,6 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
>>   do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
>>   
>>   TFA_BOARD = "lite"
>> +K3_PM_SYSTEM_SUSPEND = "1"
> 
> How is this getting passed to ATF?

This patch is wrong, Will submit a new one.

> 
> 
>>   OPTEEMACHINE = "k3-am65x"
>>   OPTEEOUTPUTMACHINE = "k3"
>> -- 
>> 2.17.1
>>

Patch

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..59cb7053 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -13,5 +13,6 @@  do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
 do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
 
 TFA_BOARD = "lite"
+K3_PM_SYSTEM_SUSPEND = "1"
 OPTEEMACHINE = "k3-am65x"
 OPTEEOUTPUTMACHINE = "k3"