Lokesh Vutla | c49bffb | 2018-11-02 19:51:02 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ |
| 4 | * Andreas Dannenberg <dannenberg@ti.com> |
| 5 | */ |
| 6 | |
| 7 | #ifndef _SYS_PROTO_H_ |
| 8 | #define _SYS_PROTO_H_ |
| 9 | |
| 10 | void sdelay(unsigned long loops); |
| 11 | u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr, |
| 12 | u32 bound); |
Lokesh Vutla | 28cd824 | 2019-03-08 11:47:33 +0530 | [diff] [blame] | 13 | struct ti_sci_handle *get_ti_sci_handle(void); |
Lokesh Vutla | 16cf5d2 | 2019-03-08 11:47:34 +0530 | [diff] [blame] | 14 | int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name); |
Andreas Dannenberg | 63f5c85 | 2019-06-04 18:08:26 -0500 | [diff] [blame] | 15 | int do_board_detect(void); |
Andreas Dannenberg | 31175f8 | 2019-06-07 19:24:42 +0530 | [diff] [blame] | 16 | void release_resources_for_core_shutdown(void); |
Andrew F. Davis | 6c43b52 | 2019-09-17 17:15:40 -0400 | [diff] [blame] | 17 | int fdt_disable_node(void *blob, char *node_path); |
| 18 | |
Lokesh Vutla | c49bffb | 2018-11-02 19:51:02 +0530 | [diff] [blame] | 19 | #endif |