xref: /netbsd-src/sys/arch/arm/fdt/psci_fdtvar.h (revision 66d31a2d9babefb1620fc7913e5da23132079032)
1*66d31a2dSryo /* $NetBSD: psci_fdtvar.h,v 1.1 2018/09/10 11:05:12 ryo Exp $ */
2*66d31a2dSryo 
3*66d31a2dSryo /*-
4*66d31a2dSryo  * Copyright (c) 2017 Jared McNeill <jmcneill@invisible.ca>
5*66d31a2dSryo  * All rights reserved.
6*66d31a2dSryo  *
7*66d31a2dSryo  * Redistribution and use in source and binary forms, with or without
8*66d31a2dSryo  * modification, are permitted provided that the following conditions
9*66d31a2dSryo  * are met:
10*66d31a2dSryo  * 1. Redistributions of source code must retain the above copyright
11*66d31a2dSryo  *    notice, this list of conditions and the following disclaimer.
12*66d31a2dSryo  * 2. Redistributions in binary form must reproduce the above copyright
13*66d31a2dSryo  *    notice, this list of conditions and the following disclaimer in the
14*66d31a2dSryo  *    documentation and/or other materials provided with the distribution.
15*66d31a2dSryo  *
16*66d31a2dSryo  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17*66d31a2dSryo  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18*66d31a2dSryo  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19*66d31a2dSryo  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20*66d31a2dSryo  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21*66d31a2dSryo  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22*66d31a2dSryo  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23*66d31a2dSryo  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24*66d31a2dSryo  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*66d31a2dSryo  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*66d31a2dSryo  * SUCH DAMAGE.
27*66d31a2dSryo  */
28*66d31a2dSryo 
29*66d31a2dSryo #ifndef _ARM_PSCI_FDTVAR_H
30*66d31a2dSryo #define _ARM_PSCI_FDTVAR_H
31*66d31a2dSryo 
32*66d31a2dSryo int	psci_fdt_preinit(void);
33*66d31a2dSryo 
34*66d31a2dSryo /* Board reset */
35*66d31a2dSryo void	psci_fdt_reset(void);
36*66d31a2dSryo 
37*66d31a2dSryo #endif /* !_ARM_PSCI_FDTVAR_H */
38