mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
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 <tsicliew@gmail.com>
This commit is contained in:
parent
f26a247308
commit
9d3a86aec5
@ -185,7 +185,7 @@ ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t * info)
|
|||||||
info->flash_id = 0x01000000;
|
info->flash_id = 0x01000000;
|
||||||
info->portwidth = 1;
|
info->portwidth = 1;
|
||||||
info->chipwidth = 1;
|
info->chipwidth = 1;
|
||||||
info->buffer_size = 32;
|
info->buffer_size = 1;
|
||||||
info->erase_blk_tout = 16384;
|
info->erase_blk_tout = 16384;
|
||||||
info->write_tout = 2;
|
info->write_tout = 2;
|
||||||
info->buffer_write_tout = 5;
|
info->buffer_write_tout = 5;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user