U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Eran Matityahu <eran.m@variscite.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices
Date: Wed, 3 Jan 2018 12:53:08 +0200	[thread overview]
Message-ID: <20180103105308.GA51077@ubuntu> (raw)

Use only one SPL MMC device, similarly to the iMX6 code

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
---
 arch/arm/mach-imx/spl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index d0d1b73aa6..6b5bd8990c 100644
--- a/arch/arm/mach-imx/spl.c
+++ b/arch/arm/mach-imx/spl.c
@@ -106,10 +106,9 @@ u32 spl_boot_device(void)
 	switch (boot_device_spl) {
 	case SD1_BOOT:
 	case MMC1_BOOT:
-		return BOOT_DEVICE_MMC1;
 	case SD2_BOOT:
 	case MMC2_BOOT:
-		return BOOT_DEVICE_MMC2;
+		return BOOT_DEVICE_MMC1;
 	case SPI_NOR_BOOT:
 		return BOOT_DEVICE_SPI;
 	default:
-- 
2.16.0-rc0

             reply	other threads:[~2018-01-03 10:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-03 10:53 Eran Matityahu [this message]
2018-01-03 11:42 ` [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices Uri Mashiach
2018-01-03 13:58   ` Eran Matityahu
2018-01-04  8:36     ` Uri Mashiach
2018-01-04  9:14     ` Stefano Babic
2018-01-04 10:02       ` Eran Matityahu
2018-01-04 10:11         ` Eran Matityahu
2018-01-04 10:42           ` Stefano Babic
2018-01-04 10:56             ` Eran Matityahu
2018-01-04 11:37               ` Stefano Babic
2018-01-04 12:02                 ` Uri Mashiach
2018-01-04 12:05                   ` Eran Matityahu
2018-01-04 12:16                     ` Stefano Babic

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=20180103105308.GA51077@ubuntu \
    --to=eran.m@variscite.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox