diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c
index 25b99e81b29f6ccef0d56e930786846218a5c83a..ce75468e3844808a055467a7be2715147f4ff17d 100644
--- a/board/karo/tx25/tx25.c
+++ b/board/karo/tx25/tx25.c
@@ -28,6 +28,7 @@
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/imx25-pinmux.h>
+#include <asm/gpio.h>
 
 static void mdelay(int n)
 {
diff --git a/include/configs/tx25.h b/include/configs/tx25.h
index b284daafffd57a7f4b54ec0cec1b90ec28f953c9..cb604a5a3120081c82b114fcd336084cdac086ac 100644
--- a/include/configs/tx25.h
+++ b/include/configs/tx25.h
@@ -91,6 +91,8 @@
 #define CONFIG_BAUDRATE		115200	/* Default baud rate */
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
 
+#define CONFIG_MXC_GPIO
+
 /*
  * Flash & Environment
  */