diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2012-08-30 12:07:12 +0200 |
---|---|---|
committer | H. Nikolaus Schaller <hns@goldelico.com> | 2012-08-30 12:07:12 +0200 |
commit | 4d31694ac41749a9a16617294ad42746744a03e3 (patch) | |
tree | 20453ef7e4fcf8e33dcc84f66ca233b4742c38cb /u-boot/board/goldelico/beagleb1/beagleb1.c | |
parent | 3d98c3057fade551a00a87f87b14eaa28c43e1d8 (diff) | |
download | bootable_bootloader_goldelico_gta04-4d31694ac41749a9a16617294ad42746744a03e3.zip bootable_bootloader_goldelico_gta04-4d31694ac41749a9a16617294ad42746744a03e3.tar.gz bootable_bootloader_goldelico_gta04-4d31694ac41749a9a16617294ad42746744a03e3.tar.bz2 |
made config and file names more consistent to $BOARD+$EXPANDER scheme
Diffstat (limited to 'u-boot/board/goldelico/beagleb1/beagleb1.c')
-rw-r--r-- | u-boot/board/goldelico/beagleb1/beagleb1.c | 24 |
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" |