imx: dynamic setting mmcdev and mmcroot
authorPeng Fan <peng.fan@nxp.com>
Wed, 6 Apr 2022 06:30:25 +0000 (14:30 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 17:10:43 +0000 (19:10 +0200)
commitf342c9e381c0166febbe8191dbb6ddc1c9a00261
tree68c253d02c9b2e5799d8c4ce23079e5460bd114b
parent7b68357130cbbda33d12dc3225361e851aaa501b
imx: dynamic setting mmcdev and mmcroot

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>
arch/arm/include/asm/mach-imx/sys_proto.h
board/freescale/common/Makefile
board/freescale/common/mmc.c [new file with mode: 0644]