From: TsiChung Liew Date: Tue, 16 Mar 2010 17:39:36 +0000 (-0500) Subject: ColdFire: Fix m54455EVB save environment bug X-Git-Tag: v2010.06-rc1~139^2~7^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d3a86aec52cb3c0e9badd12167d9292184ce4dd;p=kernel%2Fu-boot.git ColdFire: Fix m54455EVB save environment bug The ATMEL flash does not have buffer write feature. Assgined buffer_size = 1, so that when there is a write to the flash will not use buffer write function. Signed-off-by: TsiChung Liew --- diff --git a/board/freescale/m54455evb/m54455evb.c b/board/freescale/m54455evb/m54455evb.c index 866694f..2a84514 100644 --- a/board/freescale/m54455evb/m54455evb.c +++ b/board/freescale/m54455evb/m54455evb.c @@ -185,7 +185,7 @@ ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t * info) info->flash_id = 0x01000000; info->portwidth = 1; info->chipwidth = 1; - info->buffer_size = 32; + info->buffer_size = 1; info->erase_blk_tout = 16384; info->write_tout = 2; info->buffer_write_tout = 5;