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