Commit 6608043fd4a87b09bf9109fee663e3d6f68fb70e
1 parent
4c15ef55a2
Exists in
master
and in
55 other branches
Fix tools/updater build error.
Showing 3 changed files with 4 additions and 6 deletions Side-by-side Diff
CHANGELOG
tools/updater/flash.c
1 | 1 | /* |
2 | - * (C) Copyright 2000 | |
2 | + * (C) Copyright 2000-2006 | |
3 | 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | 4 | * |
5 | 5 | * See file CREDITS for list of people who contributed to this |
... | ... | @@ -124,7 +124,7 @@ |
124 | 124 | * (only some targets require alignment) |
125 | 125 | */ |
126 | 126 | int |
127 | -flash_write (uchar *src, ulong addr, ulong cnt) | |
127 | +flash_write (char *src, ulong addr, ulong cnt) | |
128 | 128 | { |
129 | 129 | #ifdef CONFIG_SPD823TS |
130 | 130 | return (ERR_TIMOUT); /* any other error codes are possible as well */ |
tools/updater/update.c
... | ... | @@ -46,10 +46,6 @@ |
46 | 46 | while (1); |
47 | 47 | } |
48 | 48 | |
49 | -int flash_sect_protect (int p, ulong addr_first, ulong addr_last); | |
50 | -int flash_sect_erase (ulong addr_first, ulong addr_last); | |
51 | -int flash_write (uchar *src, ulong addr, ulong cnt); | |
52 | - | |
53 | 49 | void do_updater(void) |
54 | 50 | { |
55 | 51 | unsigned long *addr = &__dummy + 65; |