]> git.sur5r.net Git - u-boot/commit
mmc: Define a constant for the maximum block size
authorSimon Glass <sjg@chromium.org>
Wed, 3 Apr 2013 08:54:30 +0000 (08:54 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 20:24:01 +0000 (16:24 -0400)
commit8bfa195e4e7ecbbabd4f070a3640212a5ac4ebde
tree4c44de1b4e79066a0cbcdf63cd4b5ea2dd7447dd
parent3f9315c04f3be076b81c04260c351e26adb47f30
mmc: Define a constant for the maximum block size

The number 512 appears quite a bit in the mmc code. Add a constant for this
so that it can be used here and in other parts of the code (e.g. SPL code
which loads from mmc).

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@google.com>
drivers/mmc/mmc.c
include/mmc.h