summaryrefslogtreecommitdiff
path: root/board/kup/common/pcmcia.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-06-27 13:34:26 +0200
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-08-13 16:33:52 +0200
commitf0d1246ed7cb5a88522244c596d7ae7e6f161283 (patch)
tree836a97c897f7296543ea610f0894c692af0221eb /board/kup/common/pcmcia.c
parent448f5fea4c7dd531b69e4e60eed2a72b89b4ed6d (diff)
downloadu-boot-imx-f0d1246ed7cb5a88522244c596d7ae7e6f161283.zip
u-boot-imx-f0d1246ed7cb5a88522244c596d7ae7e6f161283.tar.gz
u-boot-imx-f0d1246ed7cb5a88522244c596d7ae7e6f161283.tar.bz2
atmel_mci: Use 512 byte blocksize if possible
Instead of always using the largest blocksize the card supports, check if it can support smaller block sizes and use 512 bytes if possible. Most cards do support this, and other parts of u-boot seem to have trouble with block sizes different from 512 bytes. Also enable underrun/overrun protection. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Acked-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Diffstat (limited to 'board/kup/common/pcmcia.c')
0 files changed, 0 insertions, 0 deletions