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