ColdFire: Fix m54455EVB save environment bug
authorTsiChung Liew <tsicliew@gmail.com>
Tue, 16 Mar 2010 17:39:36 +0000 (12:39 -0500)
committerTsiChung Liew <tsicliew@gmail.com>
Wed, 24 Mar 2010 16:09:42 +0000 (11:09 -0500)
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 <tsicliew@gmail.com>
board/freescale/m54455evb/m54455evb.c

index 866694fb0e7f7ec7b0bf78a65a1802117a668de0..2a84514a3dc1f631d57eddfef496e4159abef6e4 100644 (file)
@@ -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;