diff options
-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 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); |