All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6] zynqmp: Add support for EMMC bootmode
Date: Wed, 15 Apr 2015 15:33:20 +0200	[thread overview]
Message-ID: <0357c946baab82c685499af7b259762b44d4e9ed.1429104800.git.michal.simek@xilinx.com> (raw)
In-Reply-To: <ebc90b1688620e93877c0d1e68f581a1118fc309.1429104800.git.michal.simek@xilinx.com>

Add support for EMMC bootmode.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/include/asm/arch-zynqmp/hardware.h | 3 ++-
 board/xilinx/zynqmp/zynqmp.c                | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/arch-zynqmp/hardware.h b/arch/arm/include/asm/arch-zynqmp/hardware.h
index 188b5c2144af..87792c21a5d0 100644
--- a/arch/arm/include/asm/arch-zynqmp/hardware.h
+++ b/arch/arm/include/asm/arch-zynqmp/hardware.h
@@ -45,7 +45,8 @@ struct iou_scntr {
 
 /* Bootmode setting values */
 #define BOOT_MODES_MASK	0x0000000F
-#define SD_MODE		0x00000005
+#define SD_MODE		0x00000003
+#define EMMC_MODE	0x00000006
 #define JTAG_MODE	0x00000000
 
 #define ZYNQMP_RPU_BASEADDR	0xFF9A0000
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index e38948426d70..f5ff64d988e5 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -83,6 +83,7 @@ int board_late_init(void)
 
 	switch (bootmode) {
 	case SD_MODE:
+	case EMMC_MODE:
 		setenv("modeboot", "sdboot");
 		break;
 	default:
-- 
2.3.5

  reply	other threads:[~2015-04-15 13:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 13:33 [U-Boot] [PATCH 1/6] zynqmp: Add support for emulation platform - Veloce Michal Simek
2015-04-15 13:33 ` Michal Simek [this message]
2015-04-15 13:33 ` [U-Boot] [PATCH 3/6] zynqmp: i2c: Enable i2c driver for zynqMP Michal Simek
2015-04-15 13:33 ` [U-Boot] [PATCH 4/6] zynqmp: Add SPI driver support for ZynqMP Michal Simek
2015-04-16 18:13   ` Jagan Teki
2015-04-17  5:32     ` Michal Simek
2015-04-17  8:40       ` Jagan Teki
2015-04-20  6:52         ` Siva Durga Prasad Paladugu
2015-04-15 13:33 ` [U-Boot] [PATCH 5/6] zynqmp: Enable FS_GENERIC option Michal Simek
2015-04-15 13:33 ` [U-Boot] [PATCH 6/6] zynqmp: Enable SDHCI0 options Michal Simek

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=0357c946baab82c685499af7b259762b44d4e9ed.1429104800.git.michal.simek@xilinx.com \
    --to=michal.simek@xilinx.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.