summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/beagleb1/beagleb1.c
diff options
context:
space:
mode:
Diffstat (limited to 'u-boot/board/goldelico/beagleb1/beagleb1.c')
-rw-r--r--u-boot/board/goldelico/beagleb1/beagleb1.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/u-boot/board/goldelico/beagleb1/beagleb1.c b/u-boot/board/goldelico/beagleb1/beagleb1.c
new file mode 100644
index 0000000..ff0e999
--- /dev/null
+++ b/u-boot/board/goldelico/beagleb1/beagleb1.c
@@ -0,0 +1,24 @@
+#include <common.h>
+#include <twl4030.h>
+#include <asm/io.h>
+#include <asm/arch/mmc_host_def.h>
+#include <asm/arch/mux.h>
+#include <asm/arch/sys_proto.h>
+#include <asm/arch/gpio.h>
+#include <asm/mach-types.h>
+#include "../../ti/beagle/beagle.h"
+#include "beagleb1.h"
+
+// make us initialize using both pinmux sets
+
+void muxinit(void)
+{
+ MUX_BEAGLE();
+ MUX_BEAGLE_HYBRID();
+}
+
+#undef MUX_BEAGLE
+#define MUX_BEAGLE() muxinit()
+
+// take the original beagle.c code
+#include "../../ti/beagle/beagle.c"