Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Konstantin Porotchkin | 5e7b087 | 2016-12-04 18:34:13 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Marvell International Ltd. |
Konstantin Porotchkin | 5e7b087 | 2016-12-04 18:34:13 +0200 | [diff] [blame] | 4 | * https://spdx.org/licenses |
| 5 | */ |
| 6 | |
| 7 | #ifndef _CACHE_LLC_H_ |
| 8 | #define _CACHE_LLC_H_ |
| 9 | |
| 10 | /* Armada-7K/8K last level cache */ |
| 11 | |
| 12 | #define MVEBU_A8K_REGS_BASE_MSB 0xf000 |
| 13 | #define LLC_BASE_ADDR 0x8000 |
| 14 | #define LLC_CACHE_SYNC 0x700 |
| 15 | #define LLC_CACHE_SYNC_COMPLETE 0x730 |
| 16 | #define LLC_FLUSH_BY_WAY 0x7fc |
| 17 | #define LLC_WAY_MASK 0xffffffff |
| 18 | #define LLC_CACHE_SYNC_MASK 0x1 |
| 19 | |
| 20 | #endif /* _CACHE_LLC_H_ */ |