FAT: get_cluster: Add buffer bouncing
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Fri, 20 Jul 2012 13:21:08 +0000 (15:21 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Sep 2012 15:22:10 +0000 (17:22 +0200)
commitcc63b25efb908afa3c1405cd6fce1dd5659f91d7
tree4d50ec9af4d5b1cf6f2abdfdf0ca49c0b9989ad6
parentcd1b042c5c035719018cffb751714d30513af0a6
FAT: get_cluster: Add buffer bouncing

Add a buffer bouncing mechanism to get_cluster.  This can be useful
for misaligned applicative buffers passed through get_contents.
This is required for the following patches in the case of data
aligned differently relatively to buffers and clusters.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
fs/fat/fat.c