Skip to content

Commit

Permalink
mx5: Fix efikamx build
Browse files Browse the repository at this point in the history
Commit 124bf94 "ARM: imx: fix name for functions adding sdhci-esdhc-imx devices"
changed some devices and Kconfig entry and didn't change every places
it should have. It's breaking efikamx build. I've fixed 3ds Kconfig
entry as I believe it's broken there too.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Arnaud Patard (Rtp) authored and Sascha Hauer committed Dec 3, 2010
1 parent 4c6c32b commit 0ef5195
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-mx5/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ config MACH_MX51_BABBAGE

config MACH_MX51_3DS
bool "Support MX51PDK (3DS)"
select IMX_HAVE_PLATFORM_ESDHC
select IMX_HAVE_PLATFORM_IMX_UART
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
select IMX_HAVE_PLATFORM_SPI_IMX
select MXC_DEBUG_BOARD
help
Expand Down Expand Up @@ -83,8 +83,8 @@ endchoice

config MACH_MX51_EFIKAMX
bool "Support MX51 Genesi Efika MX nettop"
select IMX_HAVE_PLATFORM_ESDHC
select IMX_HAVE_PLATFORM_IMX_UART
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
select IMX_HAVE_PLATFORM_SPI_IMX
help
Include support for Genesi Efika MX nettop. This includes specific
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-mx5/board-mx51_efikamx.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,11 @@ static void __init mxc_board_init(void)
mx51_efikamx_board_id();
mxc_register_device(&mxc_usbdr_host_device, &dr_utmi_config);
mxc_init_imx_uart();
imx51_add_esdhc(0, NULL);
imx51_add_sdhci_esdhc_imx(0, NULL);

/* on < 1.2 boards both SD controllers are used */
if (system_rev < 0x12) {
imx51_add_esdhc(1, NULL);
imx51_add_sdhci_esdhc_imx(1, NULL);
mx51_efikamx_leds[2].default_trigger = "mmc1";
}

Expand Down

0 comments on commit 0ef5195

Please sign in to comment.