]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/ltp-ddt.git/commitdiff
Add more power state name in log_pm_count function
authorYan Liu <yan-liu@ti.com>
Tue, 14 Jan 2014 20:20:44 +0000 (15:20 -0500)
committerYan Liu <yan-liu@ti.com>
Thu, 30 Jan 2014 19:01:50 +0000 (14:01 -0500)
Signed-off-by: Yan Liu <yan-liu@ti.com>
testcases/ddt/scripts/common/functions.sh

index c780fe06ffe72e53b56df357723ee63119decca4..27f35212cdeddea9100d5874d14aafd044c589cd 100644 (file)
@@ -716,6 +716,12 @@ log_pm_count()
       pwr_state_place=5
     elif [ "$pwr_state" = "RET-LOGIC-OFF" ]; then
       pwr_state_place=6
+    elif [ "$pwr_state" = "RET-MEMBANK1-OFF" ]; then
+      pwr_state_place=7
+    elif [ "$pwr_state" = "RET-MEMBANK2-OFF" ]; then
+      pwr_state_place=8
+    else
+      die "Unknown power status name: $pwr_state"
     fi
 
     pwrdm_stat=`cat $DEBUGFS_LOCATION/pm_debug/count | grep ^$pwrdm | \