Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226456
b: refs/heads/master
c: fc63de8
h: refs/heads/master
v: v3
  • Loading branch information
sricharan authored and Benoit Cousson committed Nov 17, 2010
1 parent 072f2fa commit c687a32
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6fea7b0a7ad9b79aca09df4c42773927db6934ed
refs/heads/master: fc63de829bbfa3945ffd6327bd3dc88f4e643642
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-omap2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ config MACH_OMAP4_PANDA
bool "OMAP4 Panda Board"
default y
depends on ARCH_OMAP4
select OMAP_PACKAGE_CBL
select OMAP_PACKAGE_CBS

config OMAP3_EMU
bool "OMAP3 debugging peripherals"
Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/arm/mach-omap2/board-omap4panda.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#include "hsmmc.h"
#include "control.h"
#include "mux.h"

#define GPIO_HUB_POWER 1
#define GPIO_HUB_NRESET 62
Expand Down Expand Up @@ -368,8 +369,23 @@ static int __init omap4_panda_i2c_init(void)
omap_register_i2c_bus(4, 400, NULL, 0);
return 0;
}

#ifdef CONFIG_OMAP_MUX
static struct omap_board_mux board_mux[] __initdata = {
{ .reg_offset = OMAP_MUX_TERMINATOR },
};
#else
#define board_mux NULL
#endif

static void __init omap4_panda_init(void)
{
int package = OMAP_PACKAGE_CBS;

if (omap_rev() == OMAP4430_REV_ES1_0)
package = OMAP_PACKAGE_CBL;
omap4_mux_init(board_mux, package);

omap4_panda_i2c_init();
platform_add_devices(panda_devices, ARRAY_SIZE(panda_devices));
omap_serial_init();
Expand Down

0 comments on commit c687a32

Please sign in to comment.