Re: [U-Boot] [PATCH 2/3] cmd_mmc: Use init_mmc_device() from do_mmc_rescan()

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 10:24 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The body of init_mmc_device() is now identical to that of do_mmc_rescan() except for the error codes returned. Modify do_mmc_rescan() to simply call init_mmc_device() and convert the

[U-Boot] [PATCH 2/3] cmd_mmc: Use init_mmc_device() from do_mmc_rescan()

2014-05-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The body of init_mmc_device() is now identical to that of do_mmc_rescan() except for the error codes returned. Modify do_mmc_rescan() to simply call init_mmc_device() and convert the error codes, to avoid code duplication. Signed-off-by: Stephen Warren