Hi Tom,

On 04/25/2014 03:48 PM, Michal Simek wrote:
> From: Siva Durga Prasad Paladugu <siva.durga.palad...@xilinx.com>
> 
> Define MAX_CLUSTSIZE only if not defined in board specific
> config file as this size can be decreased to save memory
> in some memory constrained cases.
> 
> Signed-off-by: Siva Durga Prasad Paladugu <siva...@xilinx.com>
> Signed-off-by: Michal Simek <michal.si...@xilinx.com>
> ---
> 
>  include/fat.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/fat.h b/include/fat.h
> index c8eb7cc..1213060 100644
> --- a/include/fat.h
> +++ b/include/fat.h
> @@ -18,7 +18,9 @@
>  #define VFAT_MAXSEQ          9   /* Up to 9 of 13 2-byte UTF-16 entries */
>  #define PREFETCH_BLOCKS              2
> 
> +#ifndef MAX_CLUSTSIZE
>  #define MAX_CLUSTSIZE        65536
> +#endif
>  #define DIRENTSPERBLOCK      (mydata->sect_size / sizeof(dir_entry))
>  #define DIRENTSPERCLUST      ((mydata->clust_size * mydata->sect_size) / \
>                        sizeof(dir_entry))
> --
> 1.8.2.3
> 

Any problem with this patch?

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to