x86: minnowmax: initialize the pin-muxing from device tree
[karo-tx-uboot.git] / board / intel / minnowmax / minnowmax.c
index 1f5549a..383cae0 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <asm/gpio.h>
 #include <asm/ibmpc.h>
 #include <asm/pnp_def.h>
 #include <netdev.h>
 
 #define SERIAL_DEV PNP_DEV(0x2e, 4)
 
+int arch_early_init_r(void)
+{
+       /* do the pin-muxing */
+       gpio_ich6_pinctrl_init();
+
+       return 0;
+}
+
 int board_early_init_f(void)
 {
        lpc47m_enable_serial(SERIAL_DEV, UART0_BASE, UART0_IRQ);