diff options
author | Terry Zhou <bjzhou@marvell.com> | 2018-03-19 17:59:45 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-03-19 18:55:23 +0200 |
commit | 8a3290cb8f52b1575350e03f44dc2e6785c5267a (patch) | |
tree | 598ba9e9a53796ec8c3610dffeaddbbe0cb77964 /drivers/marvell/mochi/apn806_setup.c | |
parent | e28d83b5561b395e92e1f79e101f963cfdf654ae (diff) |
apn806: delete all the WA for the A0 chip
We don't support A0 chip anymore
Change-Id: I720df05591bf48a6506e441120f6a68bd9815db5
Signed-off-by: Terry Zhou <bjzhou@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/52186
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hanna Hawa <hannah@marvell.com>
Diffstat (limited to 'drivers/marvell/mochi/apn806_setup.c')
-rw-r--r-- | drivers/marvell/mochi/apn806_setup.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/marvell/mochi/apn806_setup.c b/drivers/marvell/mochi/apn806_setup.c index 6485e3bc..9a8424de 100644 --- a/drivers/marvell/mochi/apn806_setup.c +++ b/drivers/marvell/mochi/apn806_setup.c @@ -165,15 +165,6 @@ static void init_aurora2(void) reg = mmio_read_32(CCU_HTC_CR); reg |= (0x1 << CCU_SET_POC_OFFSET); mmio_write_32(CCU_HTC_CR, reg); - - /* A0 Only: cache line clean & invalidate instead of) - ** cache line invalidate only - to avoid system hang - ** due to memory coherency issue */ - if (ap_rev_id_get() == APN806_REV_ID_A0) { - reg = mmio_read_32(CCU_LTC_CR); - reg |= (0x1 << CCU_CLEAN_INV_WRITE_OFFSET); - mmio_write_32(CCU_LTC_CR, reg); - } #endif /* !LLC_DISABLE */ apn806_errata_wa_init(); @@ -288,14 +279,3 @@ void ap_ble_init(void) { } -int ap_rev_id_get(void) -{ - /* Returns: - * - 0 (APN806_REV_ID_A0) for A0 - * - 1 (APN806_REV_ID_A1) for A1 - */ - return (mmio_read_32(MVEBU_CSS_GWD_CTRL_IIDR2_REG) >> - GWD_IIDR2_REV_ID_OFFSET) & - GWD_IIDR2_REV_ID_MASK; -} - |