summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorTsiChung Liew <tsicliew@gmail.com>2010-03-16 12:39:36 -0500
committerTsiChung Liew <tsicliew@gmail.com>2010-03-24 11:09:42 -0500
commit9d3a86aec52cb3c0e9badd12167d9292184ce4dd (patch)
tree1600498378146b31baeed31581a34bb0be10338b /board
parentf26a247308568e32857a5cc054f7219510a7d44e (diff)
downloadblackbird-obmc-uboot-9d3a86aec52cb3c0e9badd12167d9292184ce4dd.tar.gz
blackbird-obmc-uboot-9d3a86aec52cb3c0e9badd12167d9292184ce4dd.zip
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>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/m54455evb/m54455evb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/m54455evb/m54455evb.c b/board/freescale/m54455evb/m54455evb.c
index 866694fb0e..2a84514a3d 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;
OpenPOWER on IntegriCloud