Re: [U-Boot] [PATCH 1/2] fat: fix crash with big sector size

2011-10-01 Thread Wolfgang Denk
Dear Sergei Shtylyov, In message <201108082338.33616.sshtyl...@ru.mvista.com> you wrote: > 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. > >

[U-Boot] [PATCH 1/2] fat: fix crash with big sector size

2011-08-08 Thread Sergei Shtylyov
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 --- fs/fat/fat.c | 97 +++-