summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/matrix.h
blob: 5dbfcfe41439812c787796a70d2d17d0e2a5bd07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: BSD-1-Clause */
/*
 * Copyright (c) 2013, Atmel Corporation
 *
 * Atmel's name may not be used to endorse or promote products derived from
 * this software without specific prior written permission.
 */
#ifndef __MATRIX_H__
#define __MATRIX_H__

#include <linux/compiler.h>

void at91_matrix_write_protect_enable(void __iomem *matrix_base);
void at91_matrix_write_protect_disable(void __iomem *matrix_base);
void at91_matrix_configure_slave_security(void __iomem *matrix_base,
					  unsigned int slave,
					  unsigned int srtop_setting,
					  unsigned int srsplit_setting,
					  unsigned int ssr_setting);

#endif /* #ifndef __MATRIX_H__ */