diff options
author | Marian Balakowicz <m8@semihalf.com> | 2006-09-01 19:46:22 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2006-09-01 19:46:22 +0200 |
commit | 6608043fd4a87b09bf9109fee663e3d6f68fb70e (patch) | |
tree | 2e1b64f9bf6c0b3b82cfa493a7919c4e52f24bdb /tools | |
parent | 4c15ef55a2fe13ecb780e7ea2064e608a0ee0d67 (diff) | |
download | bootable_bootloader_goldelico_gta04-6608043fd4a87b09bf9109fee663e3d6f68fb70e.zip bootable_bootloader_goldelico_gta04-6608043fd4a87b09bf9109fee663e3d6f68fb70e.tar.gz bootable_bootloader_goldelico_gta04-6608043fd4a87b09bf9109fee663e3d6f68fb70e.tar.bz2 |
Fix tools/updater build error.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/updater/flash.c | 4 | ||||
-rw-r--r-- | tools/updater/update.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/tools/updater/flash.c b/tools/updater/flash.c index 32a1767..1ed77b1 100644 --- a/tools/updater/flash.c +++ b/tools/updater/flash.c @@ -1,5 +1,5 @@ /* - * (C) Copyright 2000 + * (C) Copyright 2000-2006 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this @@ -124,7 +124,7 @@ addr2info (ulong addr) * (only some targets require alignment) */ int -flash_write (uchar *src, ulong addr, ulong cnt) +flash_write (char *src, ulong addr, ulong cnt) { #ifdef CONFIG_SPD823TS return (ERR_TIMOUT); /* any other error codes are possible as well */ diff --git a/tools/updater/update.c b/tools/updater/update.c index b6d50d5..18f122a 100644 --- a/tools/updater/update.c +++ b/tools/updater/update.c @@ -46,10 +46,6 @@ void _main(void) while (1); } -int flash_sect_protect (int p, ulong addr_first, ulong addr_last); -int flash_sect_erase (ulong addr_first, ulong addr_last); -int flash_write (uchar *src, ulong addr, ulong cnt); - void do_updater(void) { unsigned long *addr = &__dummy + 65; |