xref: /rk3399_ARM-atf/include/drivers/brcm/iproc_gpio.h (revision 06f3c7058c42a9f1a9f7df75ea2de71a000855e8)
1 /*
2  * Copyright (c) 2019-2020, Broadcom
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef IPROC_GPIO_H
8 #define IPROC_GPIO_H
9 
10 #ifdef USE_GPIO
11 void iproc_gpio_init(uintptr_t base, int nr_gpios, uintptr_t pinmux_base,
12 		     uintptr_t pinconf_base);
13 #else
14 static void iproc_gpio_init(uintptr_t base, int nr_gpios, uintptr_t pinmux_base,
15 			    uintptr_t pinconf_base)
16 {
17 }
18 #endif /* IPROC_GPIO */
19 
20 #endif /* IPROC_GPIO_H */
21