1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef INTERNAL_SYSOC_H 9 #define INTERNAL_SYSOC_H 10 11 #include <stdbool.h> 12 #include <stdint.h> 13 14 void sysoc_set_reset(uint32_t sysoc_addr, uint32_t value); 15 16 void sysoc_clr_reset(uint32_t sysoc_addr, uint32_t value); 17 18 uint32_t sysoc_read_reset_status(uint32_t sysoc_addr); 19 20 int sysoc_wait_status_change( 21 uint32_t sysoc_addr, 22 bool reset_set_flag, 23 uint32_t set_bit); 24 25 #endif /* INTERNAL_SYSOC_H */ 26