summaryrefslogtreecommitdiffstats
path: root/common/image-android.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-05-23 12:47:06 -0600
committerPantelis Antoniou <panto@antoniou-consulting.com>2014-06-12 14:15:59 +0300
commitd4622df34280830cfe0678f098d3d9f62e6b5d94 (patch)
tree0f8331826fab5b370cd0ca2604635236f85d0a5d /common/image-android.c
parente153b13c8e300236e6d505bea629cc81fd0988cb (diff)
downloadblackbird-obmc-uboot-d4622df34280830cfe0678f098d3d9f62e6b5d94.tar.gz
blackbird-obmc-uboot-d4622df34280830cfe0678f098d3d9f62e6b5d94.zip
mmc: return meaningful error codes from mmc_select_hwpart
Rather than just returning -1 everywhere, try to return something meaningful from mmc_select_hwpart(). Note that most other MMC functions don't do this, including functions called from mmc_select_hwpart(), so I'm not sure how effective this will be. Still, it's one less place with hard-coded -1. Suggested-by: Pantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'common/image-android.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud