summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-01-28 10:51:07 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-01-28 16:00:36 +0200
commit84c1c1d7b8df7bf45d59d1585ad2588bdbbd047b (patch)
tree6b34b146e529bebcccf7a285f35a29ca760e4474
parent72c2b6dec9a3f52fc811a554f3571bf110b2d499 (diff)
fix: a8k: svc: Fix the voltage settings for a7040 @ 1600MHz
For A7040 running at 1600MHz the SVC workpoint should not be changed. Change-Id: Ied44e34ffd71989b5a309f07ae29ba5a52d497ff Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/49627 Reviewed-by: Ilan Dahan <iland@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Igor Shapiro <ishapiro@marvell.com>
-rw-r--r--plat/marvell/a8k/common/plat_ble_setup.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/plat/marvell/a8k/common/plat_ble_setup.c b/plat/marvell/a8k/common/plat_ble_setup.c
index 6040fc10..2bb5e0b1 100644
--- a/plat/marvell/a8k/common/plat_ble_setup.c
+++ b/plat/marvell/a8k/common/plat_ble_setup.c
@@ -461,9 +461,12 @@ static void ble_plat_svc_config(void)
break;
case CPU_1600_DDR_800_RCLK_800: /* 7020 only */
default:
- if (perr[0])
- goto perror;
- avs_workpoint = svc[0];
+ if (single_cluster) {/* 7020 */
+ if (perr[0])
+ goto perror;
+ avs_workpoint = svc[0];
+ } else
+ avs_workpoint = 0;
break;
}
} else {