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: 624614 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3rBJ7G4JWxz9t5Q for ; Sat, 21 May 2016 05:35:22 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=tWXc760o; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5F68C4BED0; Fri, 20 May 2016 21:35:20 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eMaIIqazug3E; Fri, 20 May 2016 21:35:20 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 833D44BD3D; Fri, 20 May 2016 21:35:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0E59E4BD3D for ; Fri, 20 May 2016 21:34:51 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VqSlkC1tA949 for ; Fri, 20 May 2016 21:34:50 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by theia.denx.de (Postfix) with ESMTPS id C27314B99D for ; Fri, 20 May 2016 21:34:47 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id n129so31778854wmn.1 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=AFmg9+pIdNR8mXoYmrgllQCFkt/hstIKQ2Vi+Xupr5qXD/1YoKe87kju4naW2Kn+5b BOXEM/gUFQlcu1QM/cbHp14exh5BrHKueZ1/sE2/5Kk47U8cyMj3DFdGk/2Cq3Ecqsfq bW5U97ns2+wTPvLx/oivMbXZhKVm2CfFRl2ICt0hafNsQITD9GIh0YQ7pXhJafeydFxF gSfegkTAOQkbEKPAs+LPW4l+HpdH+ZwNRXGRdR4kx553PjWSTM5Z13V0T5qQ+blkyE1/ 8bEvChr/0wEF1P0MVVQ40L2ql7JPc3o9MN4eXxEoP2dPf2S5xWru6cXv9jJMNZuM5eE3 xyJw== X-Gm-Message-State: AOPr4FXCUFT6hO0Z27+f1f3i/OeMSC0HK/4rDNGDIWim1AbxMldEiecFRhYYbN4ir4X3pw== 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 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-Mailman-Approved-At: Fri, 20 May 2016 21:35:18 +0200 Cc: u-boot@lists.denx.de, khilman@baylibre.com, panto@antoniou-consulting.com, linux@endlessm.com, linux-amlogic@lists.infradead.org Subject: Re: [U-Boot] [PATCH 0/2] Add support for Amlogic Meson MMC controller X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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) {