]> Pileus Git - ~andy/linux/commit
mmc, sh: Remove sh_mmcif_boot_slurp()
authorSimon Horman <horms@verge.net.au>
Mon, 6 Dec 2010 00:12:45 +0000 (00:12 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 8 Dec 2010 07:24:28 +0000 (16:24 +0900)
commit54b384634f7083bcacf9a9ed2e6f4c3d0a246e49
tree51a37b9fc454ff9e5fced781e433a23ccc3d11d7
parent9f843706bb87837b823228467f4f83973fd110e9
mmc, sh: Remove sh_mmcif_boot_slurp()

As the only caller of sh_mmcif_boot_do_read() is
sh_mmcif_boot_slurp() the configuration portion of
sh_mmcif_boot_slurp() can be merged into sh_mmcif_boot_do_read().

Once this is done sh_mmcif_boot_slurp() is only a call
to sh_mmcif_boot_do_read() with platform specific information -
the offset that images are stored on MMC. So make the
sh_mmcif_boot_do_read() call directly from platform code
and remove sh_mmcif_boot_slurp() altogether.

Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boot/romimage/mmcif-sh7724.c
include/linux/mmc/sh_mmcif.h