summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-02-23 12:43:10 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:28 +0800
commit6f6a828fbe7478efd5932c302e6368877107bbca (patch)
tree62db1aeff7df25eca9b47c65bedd2317ca9ccb8f /arch
parent71dbb9dadd51c35dd558c900ca18ef70117a424f (diff)
downloadu-boot-imx-6f6a828fbe7478efd5932c302e6368877107bbca.zip
u-boot-imx-6f6a828fbe7478efd5932c302e6368877107bbca.tar.gz
u-boot-imx-6f6a828fbe7478efd5932c302e6368877107bbca.tar.bz2
MLK-12434-1: imx: dynamic setting mmcdev and mmcroot
Align to imx_v2015.04, dynamic setting mmcdev and mmcroot. Then when boot linux, we can have correct "root=/dev/mmcblk[x]p2" Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit b46b99a901eb194e81fc4836ee2259ad8857f4d3)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/imx-common/sys_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/sys_proto.h b/arch/arm/include/asm/imx-common/sys_proto.h
index 539d34b..c58e3b1 100644
--- a/arch/arm/include/asm/imx-common/sys_proto.h
+++ b/arch/arm/include/asm/imx-common/sys_proto.h
@@ -2,6 +2,8 @@
* (C) Copyright 2009
* Stefano Babic, DENX Software Engineering, sbabic@denx.de.
*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -64,4 +66,7 @@ void lcdif_power_down(void);
int mxs_reset_block(struct mxs_register_32 *reg);
int mxs_wait_mask_set(struct mxs_register_32 *reg, u32 mask, u32 timeout);
int mxs_wait_mask_clr(struct mxs_register_32 *reg, u32 mask, u32 timeout);
+
+int mmc_get_env_dev(void);
+void board_late_mmc_env_init(void);
#endif