commit | 5ab3ba7b7cbb4696b57911a1bfc645f2f3f698f9 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Mon Aug 08 09:38:33 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Sat Oct 01 21:50:39 2011 +0200 |
tree | cd0e324be681e5de909b1d8c82a5995cde6c6b26 | |
parent | 49010bf06a02619efc9752ba75534b9012b9f095 [diff] |
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>