All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] arm: dts: ficus: Enable booting from eMMC when using SPL
Date: Mon, 29 Jul 2019 19:22:28 +0530	[thread overview]
Message-ID: <20190729135228.2878-2-manivannan.sadhasivam@linaro.org> (raw)
In-Reply-To: <20190729135228.2878-1-manivannan.sadhasivam@linaro.org>

This commits enables booting from eMMC when using SPL on 96Boards
Ficus board by adding SDHCI to boot order. Since the SDHCI driver
already has the reloc flag, this works straightaway. While we are at it,
let's also include the common u-boot dtsi for rk3399.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---

Changes in v2:

* Moved the change to <board>-u-boot.dtsi as spotted by Peter.

 arch/arm/dts/rk3399-ficus-u-boot.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/rk3399-ficus-u-boot.dtsi b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
index eab86bdb30..f3f7aa7c45 100644
--- a/arch/arm/dts/rk3399-ficus-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-ficus-u-boot.dtsi
@@ -3,4 +3,11 @@
  * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
  */
 
+#include "rk3399-u-boot.dtsi"
 #include "rk3399-sdram-ddr3-1600.dtsi"
+
+/ {
+	chosen {
+		u-boot,spl-boot-order = &sdhci, &sdmmc;
+	};
+};
-- 
2.17.1

  reply	other threads:[~2019-07-29 13:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 13:52 [U-Boot] [PATCH v2 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL Manivannan Sadhasivam
2019-07-29 13:52 ` Manivannan Sadhasivam [this message]
2019-08-05 12:54   ` [U-Boot] [PATCH v2 2/2] arm: dts: ficus: " Kever Yang
2019-08-05 14:39     ` Peter Robinson
2019-08-05 12:54 ` [U-Boot] [PATCH v2 1/2] arm: dts: rock960: " Kever Yang
2019-08-05 14:39   ` Peter Robinson
2019-08-16 18:53     ` Anand Moon
2019-08-17  3:23       ` Manivannan Sadhasivam
2019-08-17  4:30         ` Anand Moon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190729135228.2878-2-manivannan.sadhasivam@linaro.org \
    --to=manivannan.sadhasivam@linaro.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.