All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: socfpga: make socfpga_socrates_defconfig boot from QSPI
Date: Mon,  6 Aug 2018 15:05:09 +0200	[thread overview]
Message-ID: <20180806130509.21967-1-simon.k.r.goldschmidt@gmail.com> (raw)

This fixes the board's dts to supply SPL with QSPI info.

The EBV Socrates board has DIP switches to boot from SD card or
QSPI, so let's fix its defconfig to work for both cases.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>

---

 arch/arm/dts/socfpga_cyclone5_socrates.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 0d452ae300..46d7eabdc8 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -63,6 +63,7 @@
 
 &qspi {
 	status = "okay";
+	u-boot,dm-pre-reloc;
 
 	flash0: n25q00 at 0 {
 		#address-cells = <1>;
@@ -77,6 +78,7 @@
 		cdns,tsd2d-ns = <50>;
 		cdns,tchsh-ns = <4>;
 		cdns,tslch-ns = <4>;
+		u-boot,dm-pre-reloc;
 	};
 };
 
-- 
2.17.1

             reply	other threads:[~2018-08-06 13:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-06 13:05 Simon Goldschmidt [this message]
2018-08-06 13:10 ` [U-Boot] [PATCH] arm: socfpga: make socfpga_socrates_defconfig boot from QSPI Marek Vasut
2018-08-06 13:45   ` Simon Goldschmidt
2018-08-09 19:17     ` Simon Goldschmidt
2018-08-09 21:57       ` Marek Vasut
2018-08-10 12:56         ` Simon Goldschmidt
2018-08-10 13:15           ` Marek Vasut
2018-08-10 20:11             ` Simon Goldschmidt
2018-08-10 20:21               ` Marek Vasut
2018-08-11 19:26                 ` Simon Goldschmidt
2018-08-11 22:05                   ` Marek Vasut
2018-08-12 20:04                     ` Simon Goldschmidt
2018-08-13 10:21                       ` Marek Vasut
2018-09-17 20:39         ` Simon Goldschmidt
2018-10-07  6:43         ` Simon Goldschmidt
2018-10-07 13:24           ` Marek Vasut
2018-10-08 18:45             ` Simon Goldschmidt
2018-10-08 20:27               ` Marek Vasut

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=20180806130509.21967-1-simon.k.r.goldschmidt@gmail.com \
    --to=simon.k.r.goldschmidt@gmail.com \
    --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.