Skip to content

Commit

Permalink
zynqmp: Add support for SD1 with level shifters bootmode
Browse files Browse the repository at this point in the history
Add support for SD1 with level shifters bootmode.

Signed-off-by: Siva Durga Prasad Paladugu <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Siva Durga Prasad Paladugu authored and Michal Simek committed Sep 21, 2016
1 parent aebea9d commit 95e11f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/include/asm/arch-zynqmp/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ struct iou_scntr_secure {
#define NAND_MODE 0x00000004
#define EMMC_MODE 0x00000006
#define USB_MODE 0x00000007
#define SD1_LSHFT_MODE 0x0000000E /* SD1 Level shifter */
#define JTAG_MODE 0x00000000

#define ZYNQMP_IOU_SLCR_BASEADDR 0xFF180000
Expand Down
3 changes: 3 additions & 0 deletions board/xilinx/zynqmp/zynqmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ int board_late_init(void)
mode = "mmc0";
setenv("modeboot", "sdboot");
break;
case SD1_LSHFT_MODE:
puts("LVL_SHFT_");
/* fall through */
case SD_MODE1:
puts("SD_MODE1\n");
#if defined(CONFIG_ZYNQ_SDHCI0) && defined(CONFIG_ZYNQ_SDHCI1)
Expand Down

0 comments on commit 95e11f6

Please sign in to comment.