forked from Minki/linux
4d3f18bb73
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070034.307127850@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
771 B
C
30 lines
771 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Marvell Tauros3 cache controller includes
|
|
*
|
|
* Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
|
|
*
|
|
* based on GPL'ed 2.6 kernel sources
|
|
* (c) Marvell International Ltd.
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_HARDWARE_TAUROS3_H
|
|
#define __ASM_ARM_HARDWARE_TAUROS3_H
|
|
|
|
/*
|
|
* Marvell Tauros3 L2CC is compatible with PL310 r0p0
|
|
* but with PREFETCH_CTRL (r2p0) and an additional event counter.
|
|
* Also, there is AUX2_CTRL for some Marvell specific control.
|
|
*/
|
|
|
|
#define TAUROS3_EVENT_CNT2_CFG 0x224
|
|
#define TAUROS3_EVENT_CNT2_VAL 0x228
|
|
#define TAUROS3_INV_ALL 0x780
|
|
#define TAUROS3_CLEAN_ALL 0x784
|
|
#define TAUROS3_AUX2_CTRL 0x820
|
|
|
|
/* Registers shifts and masks */
|
|
#define TAUROS3_AUX2_CTRL_LINEFILL_BURST8_EN (1 << 2)
|
|
|
|
#endif
|