From patchwork Sat Mar 16 13:45:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-fsl-arm-extra] linux-imx (3.0.35): fix sdhc platform data Date: Sat, 16 Mar 2013 13:45:35 -0000 From: John Weber X-Patchwork-Id: 46275 Message-Id: <1363441542-5300-1-git-send-email-rjohnweber@gmail.com> To: meta-freescale@yoctoproject.org Fixes esdhc platform data for wandboard dual. Without this fix, wandboard-dual is unable to load firmware from the filesystem into the kernel. Signed-off-by: John Weber --- ...002-wandboard-dual-fix-sdhc-platform-data.patch | 53 ++++++++++++++++++++ 1 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/wandboard-dual/0002-wandboard-dual-fix-sdhc-platform-data.patch diff --git a/recipes-kernel/linux/linux-imx-3.0.35/wandboard-dual/0002-wandboard-dual-fix-sdhc-platform-data.patch b/recipes-kernel/linux/linux-imx-3.0.35/wandboard-dual/0002-wandboard-dual-fix-sdhc-platform-data.patch new file mode 100644 index 0000000..3aefebe --- /dev/null +++ b/recipes-kernel/linux/linux-imx-3.0.35/wandboard-dual/0002-wandboard-dual-fix-sdhc-platform-data.patch @@ -0,0 +1,53 @@ +From ea530483ad42e5b9a89934fbdfd57df81b3a90ab Mon Sep 17 00:00:00 2001 +From: John Weber +Date: Fri, 15 Mar 2013 08:43:15 -0500 +Subject: [PATCH] wandboard: fix sdhc platform data + +Fixes sdhc platfrom data structure to solve a problem when loading +the firmware files for the on-board Wifi module on Wandboard-dual. +This problem only occured when udev is tasked with loading firmware +from the filesystem. + +Upstream-Status: Pending + +Signed-off-by: John Weber +--- + arch/arm/mach-mx6/board-wand.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +diff --git a/arch/arm/mach-mx6/board-wand.c b/arch/arm/mach-mx6/board-wand.c +index 7f972eb..7be6726 100644 +--- a/arch/arm/mach-mx6/board-wand.c ++++ b/arch/arm/mach-mx6/board-wand.c +@@ -184,13 +184,17 @@ static const struct esdhc_platform_data wand_sd_data[3] = { + .cd_gpio = WAND_SD1_CD, + .wp_gpio =-EINVAL, + .keep_power_at_suspend = 1, +- .support_8bit = 0, ++ .support_8bit = 0, ++ .delay_line = 0, + .platform_pad_change = plt_sd_pad_change, ++ .cd_type = ESDHC_CD_CONTROLLER, + }, { +- .cd_gpio =-EINVAL, +- .wp_gpio =-EINVAL, + .keep_power_at_suspend = 1, + .platform_pad_change = plt_sd_pad_change, ++ .always_present = 1, ++ .support_8bit = 0, ++ .delay_line = 0, ++ .cd_type = ESDHC_CD_PERMANENT, + }, { + .cd_gpio = WAND_SD3_CD, + .wp_gpio = WAND_SD3_WP, +@@ -198,6 +202,7 @@ static const struct esdhc_platform_data wand_sd_data[3] = { + .support_8bit = 0, + .delay_line = 0, + .platform_pad_change = plt_sd_pad_change, ++ .cd_type = ESDHC_CD_CONTROLLER, + } + }; + +-- +1.7.9.5 +