summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-08-08 09:38:33 +0000
committerWolfgang Denk <wd@denx.de>2011-10-01 21:50:39 +0200
commitac4977719e157bcb3c45c70d9dd781164727530d (patch)
treecd0e324be681e5de909b1d8c82a5995cde6c6b26 /common
parent1e02c20ac925fbc527b8579e42f0a6bd610a0760 (diff)
downloadu-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 'common')
0 files changed, 0 insertions, 0 deletions