.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2013 STMicroelectronics (R&D) Limited. |
---|
3 | 4 | * Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com> |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | 5 | */ |
---|
9 | 6 | |
---|
10 | 7 | #include <linux/irq.h> |
---|
.. | .. |
---|
23 | 20 | NULL |
---|
24 | 21 | }; |
---|
25 | 22 | |
---|
26 | | -static void sti_l2_write_sec(unsigned long val, unsigned reg) |
---|
27 | | -{ |
---|
28 | | - /* |
---|
29 | | - * We can't write to secure registers as we are in non-secure |
---|
30 | | - * mode, until we have some SMI service available. |
---|
31 | | - */ |
---|
32 | | -} |
---|
33 | | - |
---|
34 | 23 | DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree") |
---|
35 | 24 | .dt_compat = stih41x_dt_match, |
---|
36 | 25 | .l2c_aux_val = L2C_AUX_CTRL_SHARED_OVERRIDE | |
---|
.. | .. |
---|
39 | 28 | L2C_AUX_CTRL_WAY_SIZE(4), |
---|
40 | 29 | .l2c_aux_mask = 0xc0000fff, |
---|
41 | 30 | .smp = smp_ops(sti_smp_ops), |
---|
42 | | - .l2c_write_sec = sti_l2_write_sec, |
---|
43 | 31 | MACHINE_END |
---|