cache_llc.h 475 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2016 Marvell International Ltd.
  4. * https://spdx.org/licenses
  5. */
  6. #ifndef _CACHE_LLC_H_
  7. #define _CACHE_LLC_H_
  8. /* Armada-7K/8K last level cache */
  9. #define MVEBU_A8K_REGS_BASE_MSB 0xf000
  10. #define LLC_BASE_ADDR 0x8000
  11. #define LLC_CACHE_SYNC 0x700
  12. #define LLC_CACHE_SYNC_COMPLETE 0x730
  13. #define LLC_FLUSH_BY_WAY 0x7fc
  14. #define LLC_WAY_MASK 0xffffffff
  15. #define LLC_CACHE_SYNC_MASK 0x1
  16. #endif /* _CACHE_LLC_H_ */