From patchwork Tue Nov 29 16:15:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 84862 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1664104qgi; Tue, 29 Nov 2016 08:15:42 -0800 (PST) X-Received: by 10.194.84.6 with SMTP id u6mr23893100wjy.185.1480436142250; Tue, 29 Nov 2016 08:15:42 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id yv4si60220855wjc.4.2016.11.29.08.15.41; Tue, 29 Nov 2016 08:15:42 -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 698EBB3871; Tue, 29 Nov 2016 17:15:32 +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 HItisXsIO_m6; Tue, 29 Nov 2016 17:15:32 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A2700A764B; Tue, 29 Nov 2016 17:15:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 83B56A7593 for ; Tue, 29 Nov 2016 17:15:16 +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 7dpEaIElDvYa for ; Tue, 29 Nov 2016 17:15:16 +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-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by theia.denx.de (Postfix) with ESMTPS id 55D2DA7579 for ; Tue, 29 Nov 2016 17:15:12 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id a197so242264021wmd.0 for ; Tue, 29 Nov 2016 08:15:12 -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=F55+12p6UlOwwmFiekpLmawvwuWExxdigwW3jjQaafM=; b=DZrZss7fsOSuymUsFp19EhGPI11mvpfBSaXHWFpuwP9/2cQgCLNIPDqQj82SZXN4lu MDOpkyY8lwQaxTkt/GS7Y13vJdtfKH6R7iHZQCFJeFx1Y1ujAgkj4VIkzOOrRT6QlHD1 798jAdZOtKSTXc0iN/41GWkGYhRObTVKbgfu2NGz/KDkxtrS9vRmaQHfZjmV+LV3pRYt RAma1GPIbYC9aky0HkirrRgGHVwDqACU37rDIRH7sYqv+4XriAGV3ahwaJgbgWjIUMIE NjMg2lhw+gp696jxC5Ib7NKDYgBtof0PS7zRex/PydTUtvoEU4JbiL6vsbyJIxkz5vA3 +S1A== 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=F55+12p6UlOwwmFiekpLmawvwuWExxdigwW3jjQaafM=; b=RD06rHEd+XFDD+A+kjas4lT1gkEkoLqCdtx84h3NB9YY3sWCfeSFf8YlGC2pXdmCM2 4mriygkP6NkuoJsnpC74K/GNC2nh26Qiq+ep0MpAanVUFDdak866YqOddodSI6VJA8hm h/irG/kuFVNchf86/Zq/aCAsNowFMFk7Zy8QUtbFcJGAw3Swpx/y99EmylyATqrSP/9v LQTOtUqf6PZulMK66ks3zXGks0lTeoRwIYA7ZvZyePbYL73nrXa+zRyD5Fxu+5lfMgBS vUmPRKgal+tRUXJjFlx7mfLDX0NmKfKO8x66IbZrxnEcMwqNfK1ba7TRSRARESlfGZTG bspw== X-Gm-Message-State: AKaTC02wHxc49dPr7gRHiFUfPEcoFYIHgCZINUnewlE6Q9pE6LyINDBO6Zddz478iVblz8FH X-Received: by 10.28.93.74 with SMTP id r71mr23712667wmb.67.1480436112326; Tue, 29 Nov 2016 08:15:12 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id j1sm68591192wjm.26.2016.11.29.08.15.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 08:15:11 -0800 (PST) From: Fabien Parent To: u-boot@lists.denx.de Date: Tue, 29 Nov 2016 17:15:03 +0100 Message-Id: <20161129161503.29003-3-fparent@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161129161503.29003-1-fparent@baylibre.com> References: <20161129161503.29003-1-fparent@baylibre.com> Cc: Tom Rini Subject: [U-Boot] [PATCH v2 2/2] 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 Reviewed-by: Tom Rini --- v1 -> v2: * No change --- 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 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; " \