diff options
author | Hanna Hawa <hannah@marvell.com> | 2018-03-05 13:18:41 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-03-05 14:20:07 +0200 |
commit | 103ebfd349a2de1e9481427deda00ccc6ce5fd72 (patch) | |
tree | a2621498997dca0e1420fcd6aacece2af44c2e69 /drivers | |
parent | 8b08c7ace6e8edeb077d9a6cf1487554e83c0645 (diff) |
ap810: define constant fot AP810 revision ID
Change-Id: I6c6e9d54f4896218f3b3ae6a37c206c9ed7a9164
Signed-off-by: Hanna Hawa <hannah@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/51321
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/marvell/ap810_aro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/marvell/ap810_aro.c b/drivers/marvell/ap810_aro.c index dc84c065..3cae2b3c 100644 --- a/drivers/marvell/ap810_aro.c +++ b/drivers/marvell/ap810_aro.c @@ -69,7 +69,7 @@ void ap810_aro_init(int target_freq, int ap_num) * TODO: update with EERATA number. */ cluster0_shift = 1; - if (cluster_num == 0 && !ap810_rev_id_get(ap_num)) + if ((cluster_num == 0) && (ap810_rev_id_get(ap_num) == MVEBU_AP810_REV_ID_A0)) cluster0_shift = 4; if (freq == CPU_FREQ_2700) { |