mmc: make eMMC general purpose partition numbering match spec
authorDiego Santa Cruz <Diego.SantaCruz@spinetix.com>
Tue, 23 Dec 2014 09:50:18 +0000 (10:50 +0100)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Mon, 19 Jan 2015 15:01:46 +0000 (17:01 +0200)
commitf289fd739d45d6281b9653b17881a0986fc281c0
tree7267fb4c0fd089ac59d6c55186efaaf620e31859
parentc3dbb4f9b7539e39d418fd1f518129fd60c8eca9
mmc: make eMMC general purpose partition numbering match spec

The eMMC spec numbers general purpose partitions starting at 1, but
the mmcinfo output follows the internal numbering which starts at 0.
Make the mmcinfo command output number partitions as in the eMMC
spec to avoid confusion.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
common/cmd_mmc.c