summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-vf610
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-02-14 00:46:56 +0300
committerStefano Babic <sbabic@denx.de>2019-04-13 21:30:08 +0300
commite5b345f30cc717706cd45cb18291cb607c3b1d4d (patch)
tree09f53a5c08fce50a5954615f26fd1f1600e30c6d /arch/arm/include/asm/arch-vf610
parentb3d28ace14ce2dcd09bfce99fdbabe2fe60ea334 (diff)
downloadu-boot-e5b345f30cc717706cd45cb18291cb607c3b1d4d.tar.xz
pcm052: bk4: sdcard: Add support for SD card booting/recovery
This code allows reusing the default u-boot as in the late board init, the default envs are restored and proper recovery scripts executed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-vf610')
-rw-r--r--arch/arm/include/asm/arch-vf610/imx-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-vf610/imx-regs.h b/arch/arm/include/asm/arch-vf610/imx-regs.h
index 5d1f63c98b..ae0a187c4d 100644
--- a/arch/arm/include/asm/arch-vf610/imx-regs.h
+++ b/arch/arm/include/asm/arch-vf610/imx-regs.h
@@ -289,6 +289,8 @@
#define SRC_SRSR_WDOG_M4 (0x1 << 4)
#define SRC_SRSR_WDOG_A5 (0x1 << 3)
#define SRC_SRSR_POR_RST (0x1 << 0)
+#define SRC_SBMR1_BOOTCFG1_SDMMC BIT(6)
+#define SRC_SBMR1_BOOTCFG1_MMC BIT(4)
#define SRC_SBMR2_BMOD_MASK (0x3 << 24)
#define SRC_SBMR2_BMOD_SHIFT 24
#define SRC_SBMR2_BMOD_FUSES 0x0