From patchwork Fri May 20 19:34:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9130023 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CA0F460221 for ; Fri, 20 May 2016 19:35:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97CF327D10 for ; Fri, 20 May 2016 19:35:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C5BB28015; Fri, 20 May 2016 19:35:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 915AA27D10 for ; Fri, 20 May 2016 19:35:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3qCW-0005e5-RB; Fri, 20 May 2016 19:35:12 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3qCS-0004Sh-Gj for linux-amlogic@lists.infradead.org; Fri, 20 May 2016 19:35:11 +0000 Received: by mail-wm0-x241.google.com with SMTP id q62so3583040wmg.3 for ; Fri, 20 May 2016 12:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=aOa/j9JE1DRggVeLrokP90AO47hKwZ2A4oaG7a+8oU0=; b=tWXc760ovx3IJbyW28WaxevaxqE1xBd5FxnwWoVdxaI/HnjsPsbyRS4RLp29GirAyf JqHsufzdb7NHksPpExVSXSfuG2MNnxObSCBrzdLDozV8YN4pV+5dhwUKEukB2HTUWCYO Z+6H8IpOvkExF3Gq22zUyJ9SgTADu2oL4Q7E/gNCVxVZTQWZBmlySz+k5HKzi20vImKF wD/0LDvqisrpY3JHwq0awQyNV9+7lTzc93bA5OOshdn32ock09q1tcNQPAdkLKZIiawB AggWRiInBtO7fNDvgw4AqORuVJ5D9aO9y5I76WIdV6vTac0wVw33gk3FADZ3wTOLs/D6 HXTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=aOa/j9JE1DRggVeLrokP90AO47hKwZ2A4oaG7a+8oU0=; b=bPeFJpJj2ZRE4o+gHODHvGM0SqbvNR+GL+PcAIxUjKRDkeTp747n+R3yWQsuskZRrG uu8iVoTfwIynfDWbXn7LjjeH99y/yLC8OySgeLRlMiLfejIHFXms0Jk4fpkiz0EUMPtb 8GUXntECrHKKnxInAVWNMSjyDfA7raISZ+PCiGOaeIdGvBEhUrbHKexUwnmJtz9yCU+6 kzjEkP1tBbbDD4gaNQsOSHaOS6Rdlj7DSq4DvfPlVtYQ7B8oI/DyBxexEAyPleYojBhL LMUdm7CwND1fU1a8CLa0HytrrIYXHPOGzyU8BrQAwMD0mdw97HZxd2fjeHMFJSx38CI1 tewg== X-Gm-Message-State: AOPr4FXPii67hcUElKDj39/3wDXx2bhfNX/oSlMWhJ5toGsSf6X1DTxU+TfYmx9GHuiTjA== X-Received: by 10.28.88.208 with SMTP id m199mr5136681wmb.39.1463772886601; Fri, 20 May 2016 12:34:46 -0700 (PDT) Received: from mephisto (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id o129sm6002523wmb.17.2016.05.20.12.34.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 May 2016 12:34:45 -0700 (PDT) Date: Fri, 20 May 2016 21:34:43 +0200 From: Carlo Caione To: Robert Gadsdon Subject: Re: [PATCH 0/2] Add support for Amlogic Meson MMC controller Message-ID: <20160520193443.GA17269@mephisto> References: <1463056902-8533-1-git-send-email-carlo@caione.org> <573E97BB.1090903@gmail.com> <20160520062700.GA16199@mephisto> <20160520080732.GA16732@mephisto> <573F5E6B.5010208@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <573F5E6B.5010208@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160520_123508_740484_476930D7 X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: u-boot@lists.denx.de, khilman@baylibre.com, panto@antoniou-consulting.com, linux@endlessm.com, linux-amlogic@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On 20/05/16 11:58, Robert Gadsdon wrote: > On 05/20/2016 01:07 AM, Carlo Caione wrote: > > On 20/05/16 08:27, Carlo Caione wrote: > >> On 19/05/16 21:51, Robert Gadsdon wrote: > >>> Applied this on my Odroid C2, and it worked OK when installed on the > >>> SDcard, but failed when installed on the eMMC module: > > > > Oh, reading this again you meant that you put u-boot directly on the > > eMMC? Ok then, something is wrong when using the driver with the eMMC. > > > > Yes, I installed it directly on the eMMC, using the micro-sd adapter, > and following the same instructions as for the SDcard.. Could you try with this patch? Thanks, diff --git a/board/hardkernel/odroid-c2/odroid-c2.c b/board/hardkernel/odroid-c2/odroid-c2.c index 34b9a95..ab78328 100644 --- a/board/hardkernel/odroid-c2/odroid-c2.c +++ b/board/hardkernel/odroid-c2/odroid-c2.c @@ -80,6 +80,11 @@ U_BOOT_DEVICE(meson_mmc) = { .platdata = &gxbb_sd_platdata[CONFIG_MMC_MESON_SD_PORT], }; +U_BOOT_DEVICE(meson_emmc) = { + .name = "meson_mmc", + .platdata = &gxbb_sd_platdata[2], +}; + static void meson_mmc_pinmux_setup(unsigned int port) { switch (port) {