-
Haavard Skinnemoen authored
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>
Haavard Skinnemoen authoredInstead 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>