summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/beagleb2/beagleb2.c
blob: afc3b1c16d69ab5f25a1f61e7810b18810ffcd09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 "beagleb2.h"

// make us initialize using both pinmux sets

int misc_init_r(void)
{
	my_misc_init_r();		// initializes board revision dependent mux (e.g. MUX_BEAGLE_C())
	MUX_BEAGLE_EXPANDER();	// append our own pinmux
	return 0;
}

#define misc_init_r my_misc_init_r

// take the original beagle.c code
#include "../../ti/beagle/beagle.c"