x86: Move the GDT into global_data
[oweals/u-boot.git] / arch / x86 / include / asm / gpio.h
index 5540d422b4afe2d1627c634e5937fc0b9785e8c1..ed85b08ce7f71665f839ae6b92f2d452dc2a000a 100644 (file)
@@ -11,7 +11,7 @@
 #include <asm-generic/gpio.h>
 
 struct ich6_bank_platdata {
-       uint32_t base_addr;
+       uint16_t base_addr;
        const char *bank_name;
 };
 
@@ -147,6 +147,8 @@ struct pch_gpio_map {
        } set3;
 };
 
+int gpio_ich6_pinctrl_init(void);
+void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio);
 void ich_gpio_set_gpio_map(const struct pch_gpio_map *map);
 
 #endif /* _X86_GPIO_H_ */