xref: /freebsd/sys/arm/ti/ti_omap4_cm.h (revision 0050ea241584f931c6089f7b7a7aca3804131397)
1*0050ea24SMichal Meloun /*-
2*0050ea24SMichal Meloun  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3*0050ea24SMichal Meloun  *
4*0050ea24SMichal Meloun  * Copyright (c) 2020 Oskar Holmlund <oskar.holmlund@ohdata.se>
5*0050ea24SMichal Meloun  *
6*0050ea24SMichal Meloun  * Redistribution and use in source and binary forms, with or without
7*0050ea24SMichal Meloun  * modification, are permitted provided that the following conditions
8*0050ea24SMichal Meloun  * are met:
9*0050ea24SMichal Meloun  * 1. Redistributions of source code must retain the above copyright
10*0050ea24SMichal Meloun  *    notice, this list of conditions and the following disclaimer.
11*0050ea24SMichal Meloun  * 2. Redistributions in binary form must reproduce the above copyright
12*0050ea24SMichal Meloun  *    notice, this list of conditions and the following disclaimer in the
13*0050ea24SMichal Meloun  *    documentation and/or other materials provided with the distribution.
14*0050ea24SMichal Meloun  *
15*0050ea24SMichal Meloun  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16*0050ea24SMichal Meloun  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17*0050ea24SMichal Meloun  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18*0050ea24SMichal Meloun  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19*0050ea24SMichal Meloun  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
20*0050ea24SMichal Meloun  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21*0050ea24SMichal Meloun  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
22*0050ea24SMichal Meloun  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23*0050ea24SMichal Meloun  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*0050ea24SMichal Meloun  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*0050ea24SMichal Meloun  * SUCH DAMAGE.
26*0050ea24SMichal Meloun  *
27*0050ea24SMichal Meloun  * $FreeBSD$
28*0050ea24SMichal Meloun  */
29*0050ea24SMichal Meloun #ifndef __TI_OMAP4_CM__
30*0050ea24SMichal Meloun #define __TI_OMAP4_CM__
31*0050ea24SMichal Meloun 
32*0050ea24SMichal Meloun uint64_t ti_omap4_cm_get_simplebus_base_host(device_t dev);
33*0050ea24SMichal Meloun 
34*0050ea24SMichal Meloun #endif /* __TI_OMAP4_CM__ */
35