Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260558
b: refs/heads/master
c: 97ea3da
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Sascha Hauer committed Jul 7, 2011
1 parent 14d0b9d commit dafe304
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 2a90a69f652edb410f7936d0271bfa8566ef6a87
refs/heads/master: 97ea3da2048e9018f2513a36a95d2f14b3853d1a
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-mxs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ config MODULE_TX28
select MXS_HAVE_PLATFORM_AUART
select MXS_HAVE_PLATFORM_FEC
select MXS_HAVE_PLATFORM_MXS_I2C
select MXS_HAVE_PLATFORM_MXS_MMC
select MXS_HAVE_PLATFORM_MXS_PWM

config MACH_TX28
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-mxs/mach-tx28.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ static struct i2c_board_info tx28_stk5v3_i2c_boardinfo[] __initdata = {
},
};

static struct mxs_mmc_platform_data tx28_mmc0_pdata __initdata = {
.wp_gpio = -EINVAL,
.flags = SLOTF_4_BIT_CAPABLE,
};

static void __init tx28_stk5v3_init(void)
{
mxs_iomux_setup_multiple_pads(tx28_stk5v3_pads,
Expand All @@ -155,6 +160,7 @@ static void __init tx28_stk5v3_init(void)
mx28_add_mxs_i2c(0);
i2c_register_board_info(0, tx28_stk5v3_i2c_boardinfo,
ARRAY_SIZE(tx28_stk5v3_i2c_boardinfo));
mx28_add_mxs_mmc(0, &tx28_mmc0_pdata);
}

static void __init tx28_timer_init(void)
Expand Down

0 comments on commit dafe304

Please sign in to comment.