From patchwork Fri Nov 25 10:11:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 84101 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp52989obn; Fri, 25 Nov 2016 02:12:18 -0800 (PST) X-Received: by 10.28.174.194 with SMTP id x185mr6545067wme.4.1480068738752; Fri, 25 Nov 2016 02:12:18 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id m7si12902719wme.134.2016.11.25.02.12.18; Fri, 25 Nov 2016 02:12:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 245BDB3847; Fri, 25 Nov 2016 11:11:57 +0100 (CET) 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 MJw0oCeyaRNR; Fri, 25 Nov 2016 11:11:56 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EB4B0B384F; Fri, 25 Nov 2016 11:11:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3E79E4B6B3 for ; Fri, 25 Nov 2016 11:11:38 +0100 (CET) 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 hHANVRe0IEx1 for ; Fri, 25 Nov 2016 11:11:38 +0100 (CET) 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-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by theia.denx.de (Postfix) with ESMTPS id 056714B98B for ; Fri, 25 Nov 2016 11:11:33 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id g23so138954411wme.1 for ; Fri, 25 Nov 2016 02:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7mEgzk58m3+SAXpSO9TkgjOtwKxlj+VNXfPuPszX360=; b=liruTJdWa+Q0/KP0jxrZ9SmtD0nTFcFPxJ9p5Zz/BRpg1szuWmM8NGbrCi4sgrnm6y zGChFYZE1CpW3EL8RhdJdrDKKa3THOb1stE8dYsF3fNkJ0RiDvnOLvZhqim1e2pYDj4z N232llvlMQW6a6TAUO1G6zu9TsYPkiahVXG3Hra1EPL8fBdhDH858KlXKrTgNpcWz9BC ADO5NBfrccmtaCXDeBzo51OQOJroQpR3qcl+y7t74XWHi47a4Kd5wQd13W+ZIFE2v7wb 7sw0Fz5jlIJFy+32yRkiLTTVKPnaNbTr9m5pnHjUr3jh2MXPkDoerFQ2UgsfdTa6cKdU Pn/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7mEgzk58m3+SAXpSO9TkgjOtwKxlj+VNXfPuPszX360=; b=ZP8s9JR4GeeD1tAIc+DKzeL2ZMS1IqbAkeyZFrSXbps9QdxA4aRnXH0TzqvgsJabDR Y1K1bLPQ7kUgaie3lz8poprBVbWtjK55Iuekaper1TktGw2KfTHBGM8bQDePZw0G9FLk HqgfTH1vUKCCcRd0Dfs8UpZ714+CNImOLBK6/mktMAQwnZ+81bae5J6TtVkjE5ipaRi7 IRUd1gLGEZR4qOk/4lDnM546uUJTgrRYpWV6J5WrCMCCmFegMcaeZ4WxA1oFn1yKTJ2/ G0C6nJhPdLeaewha1bmrsyxLF7TbpLrGOaYqEkPoPVNByK69U69O3hQQLjIKg6/r7iRk 6IBQ== X-Gm-Message-State: AKaTC02pBTmMMMs85j4PW8jNiGlbuxvqtibfiJ3y7XrfG4457D7r/01iTiHX+qgWrKbPwWIL X-Received: by 10.28.135.5 with SMTP id j5mr7177654wmd.3.1480068693479; Fri, 25 Nov 2016 02:11:33 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id ab10sm46158572wjc.45.2016.11.25.02.11.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2016 02:11:33 -0800 (PST) From: Fabien Parent To: u-boot@lists.denx.de Date: Fri, 25 Nov 2016 11:11:25 +0100 Message-Id: <20161125101127.15260-4-fparent@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161125101127.15260-1-fparent@baylibre.com> References: <20161125101127.15260-1-fparent@baylibre.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 3/5] davinci: omapl138_lcdk: add DT support for EMMC boot 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" When booting from EMMC, load the DTB and pass it to the kernel. Signed-off-by: Fabien Parent --- include/configs/omapl138_lcdk.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.10.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Reviewed-by: Tom Rini diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index c896638..fe9f94d 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -207,12 +207,16 @@ "run spiboot; " \ "fi" #define CONFIG_EXTRA_ENV_SETTINGS \ + "fdtaddr=0xc0600000\0" \ + "fdtfile=da850-lcdk.dtb\0" \ + "fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \ "mmcboot=" \ "if fatload mmc 0 0xc0600000 boot.scr; then " \ "source 0xc0600000; " \ "else " \ "fatload mmc 0 0xc0700000 uImage; " \ - "bootm 0xc0700000; " \ + "fatload mmc 0 ${fdtaddr} ${fdtfile}; " \ + "run fdtboot; " \ "fi;\0" \ "spiboot=" \ "sf probe 0; " \