mmc: provide a select_hwpart implementation for get_device()
authorStephen Warren <swarren@nvidia.com>
Wed, 7 May 2014 18:19:02 +0000 (12:19 -0600)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 23 May 2014 09:11:44 +0000 (12:11 +0300)
commitd235628434657cf1eba58821445cb5ad88e10763
tree19c19b00b626b01e7aa59177fd3668e08c3b5eca
parent336b6f90482f23b149323b698c05c2713fe55701
mmc: provide a select_hwpart implementation for get_device()

This enables specifying which eMMC HW partition to target for any U-Boot
command that uses the generic get_partition() function to parse its
command-line arguments.

Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
disk/part.c
drivers/mmc/mmc.c
include/part.h