blob: 3c825aa3d1f979251146a6232a291f2e335f570b [file] [log] [blame]
Lokesh Vutlac49bffb2018-11-02 19:51:02 +05301/* 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
10void sdelay(unsigned long loops);
11u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
12 u32 bound);
Lokesh Vutla28cd8242019-03-08 11:47:33 +053013struct ti_sci_handle *get_ti_sci_handle(void);
Lokesh Vutla16cf5d22019-03-08 11:47:34 +053014int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name);
Andreas Dannenberg63f5c852019-06-04 18:08:26 -050015int do_board_detect(void);
Andreas Dannenberg31175f82019-06-07 19:24:42 +053016void release_resources_for_core_shutdown(void);
Andrew F. Davis6c43b522019-09-17 17:15:40 -040017int fdt_disable_node(void *blob, char *node_path);
18
Lokesh Vutlac49bffb2018-11-02 19:51:02 +053019#endif