diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:03:33 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:59:51 -0500 |
commit | 124bf94a9f9b52341562628cd56b252e7d820ee8 (patch) | |
tree | 73aa0be3bc6229ac63e12fe92e7b4f206d77bb5b /arch/arm/mach-mx5 | |
parent | c496fa6bd5324ddce11e5e42670618ffb4d8f58d (diff) |
ARM: imx: fix name for functions adding sdhci-esdhc-imx devices
and restore alphabetic ordering.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r-- | arch/arm/mach-mx5/Kconfig | 6 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_babbage.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 9 | ||||
-rw-r--r-- | arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c | 2 |
5 files changed, 13 insertions, 12 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig index 3ec910a7a182..95cb0a831478 100644 --- a/arch/arm/mach-mx5/Kconfig +++ b/arch/arm/mach-mx5/Kconfig | |||
@@ -14,7 +14,7 @@ config MACH_MX51_BABBAGE | |||
14 | bool "Support MX51 BABBAGE platforms" | 14 | bool "Support MX51 BABBAGE platforms" |
15 | select IMX_HAVE_PLATFORM_IMX_I2C | 15 | select IMX_HAVE_PLATFORM_IMX_I2C |
16 | select IMX_HAVE_PLATFORM_IMX_UART | 16 | select IMX_HAVE_PLATFORM_IMX_UART |
17 | select IMX_HAVE_PLATFORM_ESDHC | 17 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX |
18 | help | 18 | help |
19 | Include support for MX51 Babbage platform, also known as MX51EVK in | 19 | Include support for MX51 Babbage platform, also known as MX51EVK in |
20 | u-boot. This includes specific configurations for the board and its | 20 | u-boot. This includes specific configurations for the board and its |
@@ -47,7 +47,7 @@ choice | |||
47 | config MACH_EUKREA_MBIMX51_BASEBOARD | 47 | config MACH_EUKREA_MBIMX51_BASEBOARD |
48 | prompt "Eukrea MBIMX51 development board" | 48 | prompt "Eukrea MBIMX51 development board" |
49 | bool | 49 | bool |
50 | select IMX_HAVE_PLATFORM_ESDHC | 50 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX |
51 | help | 51 | help |
52 | This adds board specific devices that can be found on Eukrea's | 52 | This adds board specific devices that can be found on Eukrea's |
53 | MBIMX51 evaluation board. | 53 | MBIMX51 evaluation board. |
@@ -72,7 +72,7 @@ choice | |||
72 | config MACH_EUKREA_MBIMXSD51_BASEBOARD | 72 | config MACH_EUKREA_MBIMXSD51_BASEBOARD |
73 | prompt "Eukrea MBIMXSD development board" | 73 | prompt "Eukrea MBIMXSD development board" |
74 | bool | 74 | bool |
75 | select IMX_HAVE_PLATFORM_ESDHC | 75 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX |
76 | help | 76 | help |
77 | This adds board specific devices that can be found on Eukrea's | 77 | This adds board specific devices that can be found on Eukrea's |
78 | MBIMXSD evaluation board. | 78 | MBIMXSD evaluation board. |
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c index acbe30df2e69..542f2b147dcc 100644 --- a/arch/arm/mach-mx5/board-mx51_babbage.c +++ b/arch/arm/mach-mx5/board-mx51_babbage.c | |||
@@ -349,8 +349,8 @@ static void __init mxc_board_init(void) | |||
349 | mxc_iomux_v3_setup_pad(&usbh1stp); | 349 | mxc_iomux_v3_setup_pad(&usbh1stp); |
350 | babbage_usbhub_reset(); | 350 | babbage_usbhub_reset(); |
351 | 351 | ||
352 | imx51_add_esdhc(0, NULL); | 352 | imx51_add_sdhci_esdhc_imx(0, NULL); |
353 | imx51_add_esdhc(1, NULL); | 353 | imx51_add_sdhci_esdhc_imx(1, NULL); |
354 | } | 354 | } |
355 | 355 | ||
356 | static void __init mx51_babbage_timer_init(void) | 356 | static void __init mx51_babbage_timer_init(void) |
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h index 8c50cb5d05f5..01b71ef4086c 100644 --- a/arch/arm/mach-mx5/devices-imx51.h +++ b/arch/arm/mach-mx5/devices-imx51.h | |||
@@ -31,6 +31,11 @@ extern const struct imx_mxc_nand_data imx51_mxc_nand_data __initconst; | |||
31 | #define imx51_add_mxc_nand(pdata) \ | 31 | #define imx51_add_mxc_nand(pdata) \ |
32 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) | 32 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) |
33 | 33 | ||
34 | extern const struct imx_sdhci_esdhc_imx_data | ||
35 | imx51_sdhci_esdhc_imx_data[] __initconst; | ||
36 | #define imx51_add_sdhci_esdhc_imx(id, pdata) \ | ||
37 | imx_add_sdhci_esdhc_imx(&imx51_sdhci_esdhc_imx_data[id], pdata) | ||
38 | |||
34 | extern const struct imx_spi_imx_data imx51_cspi_data __initconst; | 39 | extern const struct imx_spi_imx_data imx51_cspi_data __initconst; |
35 | #define imx51_add_cspi(pdata) \ | 40 | #define imx51_add_cspi(pdata) \ |
36 | imx_add_spi_imx(&imx51_cspi_data, pdata) | 41 | imx_add_spi_imx(&imx51_cspi_data, pdata) |
@@ -38,7 +43,3 @@ extern const struct imx_spi_imx_data imx51_cspi_data __initconst; | |||
38 | extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst; | 43 | extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst; |
39 | #define imx51_add_ecspi(id, pdata) \ | 44 | #define imx51_add_ecspi(id, pdata) \ |
40 | imx_add_spi_imx(&imx51_ecspi_data[id], pdata) | 45 | imx_add_spi_imx(&imx51_ecspi_data[id], pdata) |
41 | |||
42 | extern const struct imx_esdhc_imx_data imx51_esdhc_data[] __initconst; | ||
43 | #define imx51_add_esdhc(id, pdata) \ | ||
44 | imx_add_esdhc(&imx51_esdhc_data[id], pdata) | ||
diff --git a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c index a2e6e8c39d25..4e74b9907b7c 100644 --- a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | |||
@@ -217,6 +217,6 @@ void __init eukrea_mbimx51_baseboard_init(void) | |||
217 | i2c_register_board_info(1, mbimx51_i2c_devices, | 217 | i2c_register_board_info(1, mbimx51_i2c_devices, |
218 | ARRAY_SIZE(mbimx51_i2c_devices)); | 218 | ARRAY_SIZE(mbimx51_i2c_devices)); |
219 | 219 | ||
220 | imx51_add_esdhc(0, NULL); | 220 | imx51_add_sdhci_esdhc_imx(0, NULL); |
221 | imx51_add_esdhc(1, NULL); | 221 | imx51_add_sdhci_esdhc_imx(1, NULL); |
222 | } | 222 | } |
diff --git a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c index 2b48f5190830..038d8c94f79e 100644 --- a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c | |||
@@ -149,7 +149,7 @@ void __init eukrea_mbimxsd51_baseboard_init(void) | |||
149 | imx51_add_imx_uart(1, NULL); | 149 | imx51_add_imx_uart(1, NULL); |
150 | imx51_add_imx_uart(2, &uart_pdata); | 150 | imx51_add_imx_uart(2, &uart_pdata); |
151 | 151 | ||
152 | imx51_add_esdhc(0, NULL); | 152 | imx51_add_sdhci_esdhc_imx(0, NULL); |
153 | 153 | ||
154 | gpio_request(GPIO_LED1, "LED1"); | 154 | gpio_request(GPIO_LED1, "LED1"); |
155 | gpio_direction_output(GPIO_LED1, 1); | 155 | gpio_direction_output(GPIO_LED1, 1); |