summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2011-11-29 16:09:38 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2011-12-16 13:06:13 +0800
commitbf6a636f2c4bfe393080076d6f5b4bd2d23421b4 (patch)
tree3f5d1a019a1972617c578080694ebf0443df8eaa
parentc5395dc131b8c78555995052870177ac2c6876e1 (diff)
downloadu-boot-imx-bf6a636f2c4bfe393080076d6f5b4bd2d23421b4.zip
u-boot-imx-bf6a636f2c4bfe393080076d6f5b4bd2d23421b4.tar.gz
u-boot-imx-bf6a636f2c4bfe393080076d6f5b4bd2d23421b4.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>
-rw-r--r--board/freescale/mx53_smd/mx53_smd.c4
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 61c1384..4c8ca4e 100644
--- a/board/freescale/mx53_smd/mx53_smd.c
+++ b/board/freescale/mx53_smd/mx53_smd.c
@@ -1051,7 +1051,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;
@@ -1080,7 +1080,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);