diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-14 08:26:52 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-14 16:30:13 +0100 |
commit | 9bdef9e7f2955728dddc189b03d587e42c950ce3 (patch) | |
tree | 4df148d07b8da00d7d908d42f1f22debdd3fa1a7 /common/password.c | |
parent | 403fbbbc3411a3dccc80f0c0798b0c2c9924eda9 (diff) | |
download | barebox-9bdef9e7f2955728dddc189b03d587e42c950ce3.tar.gz barebox-9bdef9e7f2955728dddc189b03d587e42c950ce3.tar.xz |
mci: Fix version handling
Currently the version defines reflect the digits in the version
number. MMC_VERSION_4_41 is defined as 0x441 and MMC_VERSION_4_5
is defined as 0x405. This results in MMC_VERSION_4_5 < MMC_VERSION_4_41
becoming true which was surely not intended. Fix this by
redefining the versions as 0x<major><minor><micro>. This makes the
string generation more complicated but makes versions comparable
again.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/password.c')
0 files changed, 0 insertions, 0 deletions