summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/beagleb4/beagleb4.c
diff options
context:
space:
mode:
Diffstat (limited to 'u-boot/board/goldelico/beagleb4/beagleb4.c')
-rw-r--r--u-boot/board/goldelico/beagleb4/beagleb4.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/u-boot/board/goldelico/beagleb4/beagleb4.c b/u-boot/board/goldelico/beagleb4/beagleb4.c
new file mode 100644
index 0000000..9be6b41
--- /dev/null
+++ b/u-boot/board/goldelico/beagleb4/beagleb4.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 "beagleb4.h"
+
+// make us initialize using both pinmux sets
+
+void muxinit(void)
+{
+ MUX_BEAGLE();
+ MUX_BEAGLE_EXPANDER();
+}
+
+#undef MUX_BEAGLE
+#define MUX_BEAGLE() muxinit()
+
+// take the original beagle.c code
+#include "../../ti/beagle/beagle.c"