Prechádzať zdrojové kódy

Fix tools/updater build error.

Marian Balakowicz 18 rokov pred
rodič
commit
6608043fd4
3 zmenil súbory, kde vykonal 4 pridanie a 6 odobranie
  1. 2 0
      CHANGELOG
  2. 2 2
      tools/updater/flash.c
  3. 0 4
      tools/updater/update.c

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Fix tools/updater build error.
+
 * Fix tools/easylogo build error.
 
 * Update for MCC200 / PRS200 boards:

+ 2 - 2
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 */

+ 0 - 4
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;