summaryrefslogtreecommitdiff
path: root/board/tb0229
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-10 00:03:41 +0000
committerwdenk <wdenk>2004-02-10 00:03:41 +0000
commitcd37d9e6e5e9692d8efafc155df23fa142b63d03 (patch)
tree2c7da916453ce17db49e8556ceca03bf98b3cf62 /board/tb0229
parentec4c544bed9b026cdf93084fb0daa73ec53a9cda (diff)
* 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/tb0229/flash.c b/board/tb0229/flash.c
index 5dea4637008..e9f6418c4ec 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;