mmc: Implement SD/MMC versioning properly
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Fri, 23 Jan 2015 10:12:01 +0000 (12:12 +0200)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Mon, 23 Feb 2015 17:34:29 +0000 (19:34 +0200)
commit4b7cee533630202095748ecb396bd9eacf47ff3f
tree00c86c2dcc3e72286fdece81acf823b0e3e60205
parent46414296953410706e917cef9238926084e83a4b
mmc: Implement SD/MMC versioning properly

The SD/MMC version scheme was buggy when dealing with standard
major.minor.change cases. Fix it by using something similar to
the linux's kernel versioning method.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Reported-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
common/cmd_mmc.c
include/mmc.h