diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2011-11-29 16:09:38 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2011-11-29 16:11:58 +0800 |
commit | 127f1cf74be5bdb9eaf18b097aa8605d72ce71f7 (patch) | |
tree | 8e626a930217fbe9536567a3d05a9a76dc439da1 /board/freescale | |
parent | 995fbbca013d1f2c1cefed99d536e61cf9f85bb1 (diff) | |
download | u-boot-imx-127f1cf74be5bdb9eaf18b097aa8605d72ce71f7.zip u-boot-imx-127f1cf74be5bdb9eaf18b097aa8605d72ce71f7.tar.gz u-boot-imx-127f1cf74be5bdb9eaf18b097aa8605d72ce71f7.tar.bz2 |
ENGR00163370 Android: uboot: mx53_smd fix warnning message
Fix minor error when adding recovery related code.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx53_smd/mx53_smd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx53_smd/mx53_smd.c b/board/freescale/mx53_smd/mx53_smd.c index f40147a..660dfc2 100644 --- a/board/freescale/mx53_smd/mx53_smd.c +++ b/board/freescale/mx53_smd/mx53_smd.c @@ -1112,7 +1112,7 @@ int check_recovery_cmd_file(void) if (!ext2fs_mount(part_length)) { printf("** Bad ext2 partition or " - "disk - mmc i:%d **\n", + "disk - mmc %d:%d **\n", i, CONFIG_ANDROID_CACHE_PARTITION_MMC); ext2fs_close(); continue; @@ -1141,7 +1141,7 @@ int check_recovery_cmd_file(void) * @TODO: Need At least Two key, but in SMD board, * only can use one Volume key. */ mxc_request_iomux(MX53_PIN_ATA_DATA14, IOMUX_CONFIG_ALT1); - readl(GPIO2_BASE_ADDR + GPIO_GDIR); + reg = readl(GPIO2_BASE_ADDR + GPIO_GDIR); reg &= ~(1<<14); writel(reg, GPIO2_BASE_ADDR + GPIO_GDIR); reg = readl(GPIO2_BASE_ADDR + GPIO_PSR); |