Vishnu Banavath | 2df6d17 | 2019-12-13 17:18:15 +0000 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2019, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | |||||
7 | #ifndef SCU_H | ||||
8 | #define SCU_H | ||||
9 | |||||
10 | #include <stdint.h> | ||||
11 | |||||
12 | #define SCU_CTRL_REG 0x00 | ||||
13 | #define SCU_CFG_REG 0x04 | ||||
14 | |||||
15 | #define SCU_ENABLE_BIT (1 << 0) | ||||
16 | |||||
17 | void enable_snoop_ctrl_unit(uintptr_t base); | ||||
18 | uint32_t read_snoop_ctrl_unit_cfg(uintptr_t base); | ||||
19 | |||||
20 | #endif /* SCU_H */ |