diff options
author | wdenk <wdenk> | 2004-02-10 00:03:41 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-02-10 00:03:41 +0000 |
commit | cd37d9e6e5e9692d8efafc155df23fa142b63d03 (patch) | |
tree | 2c7da916453ce17db49e8556ceca03bf98b3cf62 /board/tb0229 | |
parent | ec4c544bed9b026cdf93084fb0daa73ec53a9cda (diff) | |
download | u-boot-imx-cd37d9e6e5e9692d8efafc155df23fa142b63d03.zip u-boot-imx-cd37d9e6e5e9692d8efafc155df23fa142b63d03.tar.gz u-boot-imx-cd37d9e6e5e9692d8efafc155df23fa142b63d03.tar.bz2 |
* Patch by Jian Zhang, 3 Feb 2004:
- Changed the incorrect FAT12BUFSIZE
- data_begin in fsdata can be negative. Changed it to be short.
* Code cleanup
Diffstat (limited to 'board/tb0229')
-rw-r--r-- | board/tb0229/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/tb0229/flash.c b/board/tb0229/flash.c index 5dea463..e9f6418 100644 --- a/board/tb0229/flash.c +++ b/board/tb0229/flash.c @@ -860,7 +860,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last) } for (info = info_first; info <= info_last; ++info) { - ulong b_end = info->start[0] + info->size;*//* bank end addr */ + ulong b_end = info->start[0] + info->size;*/ /* bank end addr */ /* short s_end = info->sector_count - 1; for (i=0; i<info->sector_count; ++i) { ulong e_addr = (i == s_end) ? b_end : info->start[i + 1]; @@ -872,7 +872,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last) } } -*//* finally write data to flash */ +*/ /* finally write data to flash */ /* for (info = info_first; info <= info_last && cnt>0; ++info) { ulong len; |