diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boot/romimage/mmcif-sh7724.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/boot/romimage/mmcif-sh7724.c b/arch/sh/boot/romimage/mmcif-sh7724.c index 16b9c6fa7de..c84e7831018 100644 --- a/arch/sh/boot/romimage/mmcif-sh7724.c +++ b/arch/sh/boot/romimage/mmcif-sh7724.c | |||
@@ -60,7 +60,9 @@ asmlinkage void mmcif_loader(unsigned char *buf, unsigned long no_bytes) | |||
60 | mmcif_update_progress(MMCIF_PROGRESS_LOAD); | 60 | mmcif_update_progress(MMCIF_PROGRESS_LOAD); |
61 | 61 | ||
62 | /* load kernel via MMCIF interface */ | 62 | /* load kernel via MMCIF interface */ |
63 | sh_mmcif_boot_slurp(MMCIF_BASE, buf, no_bytes); | 63 | sh_mmcif_boot_do_read(MMCIF_BASE, 512, |
64 | (no_bytes + SH_MMCIF_BBS - 1) / SH_MMCIF_BBS, | ||
65 | buf); | ||
64 | 66 | ||
65 | /* disable clock to the MMCIF hardware block */ | 67 | /* disable clock to the MMCIF hardware block */ |
66 | __raw_writel(__raw_readl(MSTPCR2) | 0x20000000, MSTPCR2); | 68 | __raw_writel(__raw_readl(MSTPCR2) | 0x20000000, MSTPCR2); |