diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2011-08-08 09:38:33 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-01 21:50:39 +0200 |
commit | ac4977719e157bcb3c45c70d9dd781164727530d (patch) | |
tree | cd0e324be681e5de909b1d8c82a5995cde6c6b26 /board/freescale/common/sgmii_riser.h | |
parent | 1e02c20ac925fbc527b8579e42f0a6bd610a0760 (diff) | |
download | u-boot-imx-ac4977719e157bcb3c45c70d9dd781164727530d.zip u-boot-imx-ac4977719e157bcb3c45c70d9dd781164727530d.tar.gz u-boot-imx-ac4977719e157bcb3c45c70d9dd781164727530d.tar.bz2 |
fat: fix crash with big sector size
Apple iPod nanos have sector sizes of 2 or 4 KiB, which crashes U-Boot when it
tries to read the boot sector into 512-byte buffer situated on stack. Make the
FAT code indifferent to the sector size.
Signed-off-by: Sergei Shtylyov <sshtylyov@mvista.com>
Diffstat (limited to 'board/freescale/common/sgmii_riser.h')
0 files changed, 0 insertions, 0 deletions