spl: mmc: move fs boot into its own function
authorNikita Kiryanov <nikita@compulab.co.il>
Sun, 8 Nov 2015 15:11:47 +0000 (17:11 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 19:50:01 +0000 (14:50 -0500)
commitf52b729393c4ec2af22f3a51a193362fc4f55e4f
treea365b8317fdce5c3d0129d68ef70353f06683f01
parentd074ebb9361f0cd23146ed9e0f443c1b0ab3c249
spl: mmc: move fs boot into its own function

Move the code that handles fs boot out of spl_mmc_load_image() and into its
own function to reduce the #ifdef complexity of spl_mmc_load_image().

No functional changes.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Paul Kocialkowski <contact@paulk.fr>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl_mmc.c