From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A5E69E01410 for ; Mon, 18 Mar 2013 13:25:37 -0700 (PDT) Received: by mail-qc0-f180.google.com with SMTP id v28so2979575qcm.39 for ; Mon, 18 Mar 2013 13:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=3kZ7If1Ec4AHX9fKXRltpnJ5MXkD2Mir7RcKI7GrAeg=; b=QNPCFwzzSh9R1x9BAO5rCn5Gpq1KgblNWx/VDJXLnUf5DUrLdMXI2iaYSmZVpfsgUK cxUyNsQJFclY7YCU47nnI2ubTh4mGSojApjwkd708YLXFJ6vv73TdvwtriaabbN2vbMC 8P7XfhYGpc4IZ1Ngl2hWL3Cwo1sG45fJpWY0Q/FMlSX0ailkMzmB3Hx+RmfGrIdo8E/V JuG1WYpKL1pRsDOMZBiRCJouUgVF+ngVbvzw5LcbYkHzcs5HP3wPtS3Hnwshyxz3JyFq dkXy9ZeYg6KXNh2hIKWvTF5ITjPD8T8+olc/BzyHJSzjUOan3nEVRYu7xpvjGz/Bf8Oq BSMg== X-Received: by 10.229.61.65 with SMTP id s1mr2458342qch.114.1363638337102; Mon, 18 Mar 2013 13:25:37 -0700 (PDT) Received: from localhost.localdomain ([75.76.228.60]) by mx.google.com with ESMTPS id az3sm34754411qeb.7.2013.03.18.13.25.36 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Mar 2013 13:25:36 -0700 (PDT) From: John Weber To: meta-freescale@yoctoproject.org Date: Mon, 18 Mar 2013 15:25:27 -0500 Message-Id: <1363638331-4603-2-git-send-email-rjohnweber@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363638331-4603-1-git-send-email-rjohnweber@gmail.com> References: <1363638331-4603-1-git-send-email-rjohnweber@gmail.com> Subject: [meta-fsl-arm-extra][PATCH v2 1/5] linux-imx (3.0.35): wandboard: fix sdhc platform data X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 20:25:37 -0000 Fixes the esdhc_platform_data structure defined in board-wand.c. Before this change there were problems with loading firmware for the BCM4329 wifi module on board Wandboard-Dual. In addition, this squashes some kernel warning messages concerning the MMC bus not having WP and CD for mmc1. Signed-off-by: John Weber --- ...002-wandboard-dual-fix-sdhc-platform-data.patch | 52 ++++++++++++++++++++ recipes-kernel/linux/linux-imx_3.0.35.bbappend | 3 +- 2 files changed, 54 insertions(+), 1 deletion(-) 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..b5c9422 --- /dev/null +++ b/recipes-kernel/linux/linux-imx-3.0.35/wandboard-dual/0002-wandboard-dual-fix-sdhc-platform-data.patch @@ -0,0 +1,52 @@ +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, ++ .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 + diff --git a/recipes-kernel/linux/linux-imx_3.0.35.bbappend b/recipes-kernel/linux/linux-imx_3.0.35.bbappend index f1abbf9..0466e67 100644 --- a/recipes-kernel/linux/linux-imx_3.0.35.bbappend +++ b/recipes-kernel/linux/linux-imx_3.0.35.bbappend @@ -1,10 +1,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -PRINC := "${@int(PRINC) + 1}" +PRINC := "${@int(PRINC) + 2}" # Wandboard-specific patches SRC_URI_append_wandboard-dual = " \ file://wandboard-dual/0001-Linux-3.0.35-Add-wandboard-dual-support.patch \ + file://wandboard-dual/0002-wandboard-dual-fix-sdhc-platform-data.patch \ " # Add support for the Congatec qmx6 board SRC_URI_append_cgtqmx6 = " file://cgtqmx6/cgtqmx6.patch" -- 1.7.9.5