MMC: Max blocks value adjustable
authorMatt Waddel <matt.waddel@linaro.org>
Thu, 24 Feb 2011 16:35:23 +0000 (16:35 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 13 Apr 2011 11:35:22 +0000 (06:35 -0500)
commitce0fbcd2e1bd8c7b0975589b9853f3e8914aa406
tree3e21648aaaee68b050ea9f5f6bafa16a86a82e7a
parentb44c70837a87bcd92b76a94e49b85d7656cb2a11
MMC: Max blocks value adjustable

The maximum blocks value was hardcoded to 65535 due to a 16 bit
register length.  The value can change for different platforms.
This patch makes the default the current value of 65535, but it
is configurable for other platforms.

Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/mmc/mmc.c