mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-20 05:31:30 +00:00
Fix tools/updater build error.
This commit is contained in:
parent
4c15ef55a2
commit
6608043fd4
3 changed files with 4 additions and 6 deletions
|
@ -2,6 +2,8 @@
|
||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix tools/updater build error.
|
||||||
|
|
||||||
* Fix tools/easylogo build error.
|
* Fix tools/easylogo build error.
|
||||||
|
|
||||||
* Update for MCC200 / PRS200 boards:
|
* Update for MCC200 / PRS200 boards:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* (C) Copyright 2000
|
* (C) Copyright 2000-2006
|
||||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
*
|
*
|
||||||
* See file CREDITS for list of people who contributed to this
|
* See file CREDITS for list of people who contributed to this
|
||||||
|
@ -124,7 +124,7 @@ addr2info (ulong addr)
|
||||||
* (only some targets require alignment)
|
* (only some targets require alignment)
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
flash_write (uchar *src, ulong addr, ulong cnt)
|
flash_write (char *src, ulong addr, ulong cnt)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_SPD823TS
|
#ifdef CONFIG_SPD823TS
|
||||||
return (ERR_TIMOUT); /* any other error codes are possible as well */
|
return (ERR_TIMOUT); /* any other error codes are possible as well */
|
||||||
|
|
|
@ -46,10 +46,6 @@ void _main(void)
|
||||||
while (1);
|
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)
|
void do_updater(void)
|
||||||
{
|
{
|
||||||
unsigned long *addr = &__dummy + 65;
|
unsigned long *addr = &__dummy + 65;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue