summaryrefslogtreecommitdiff
path: root/tools/imximage.h
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-02-24 16:07:44 +0800
committerYe.Li <B37916@freescale.com>2014-02-25 15:54:06 +0800
commit7854e7c7f8ef45c059c8f9ad6233650e7b5ecad1 (patch)
treee0a065123518fd0a005e8d8fea4c17338e1600bf /tools/imximage.h
parent43a58af0a8e2a3b5c75b130291379acbac0da3d0 (diff)
downloadu-boot-imx-7854e7c7f8ef45c059c8f9ad6233650e7b5ecad1.zip
u-boot-imx-7854e7c7f8ef45c059c8f9ad6233650e7b5ecad1.tar.gz
u-boot-imx-7854e7c7f8ef45c059c8f9ad6233650e7b5ecad1.tar.bz2
ENGR00299848 ARM:imx6 Change static environment SD/MMC storage to dynamic
imx6 boards (sabresd, sabreauto, arm2 and slevk) have multiple SD/MMC ports to boot. But current uboot hard code the SD/MMC port for environment variables storage. So if customer changes a port without modifying the configuration "CONFIG_SYS_MMC_ENV_DEV", error will issue at saving and loading environment. Implement a mechanism to detect SD/MMC port from SRC SMBR register, and override the default "mmc_get_env_devno". The "board_late_mmc_env_init" is used to set "mmcdev" when booting from SD/MMC port. Finally after booting from SD/MMC, the environment storage device and "mmcdev" are both set to current SD/MMC port. Customers don't need to re-build the image if booting from different SD/MMC port. This patch also adds SD1 and SD3 support to imx6slevk BSP, and adds support for sabreauto SD1 slot on base board. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 7f789db44b3d5bcdf0aa4952f724701aa90e5fc1)
Diffstat (limited to 'tools/imximage.h')
0 files changed, 0 insertions, 0 deletions