diff options
Diffstat (limited to 'board/rsdproto')
| -rw-r--r-- | board/rsdproto/flash.c | 6 | ||||
| -rw-r--r-- | board/rsdproto/u-boot.lds | 6 | 
2 files changed, 8 insertions, 4 deletions
| diff --git a/board/rsdproto/flash.c b/board/rsdproto/flash.c index d90e7db54..5ad321852 100644 --- a/board/rsdproto/flash.c +++ b/board/rsdproto/flash.c @@ -59,9 +59,9 @@ static unsigned char write_ull(flash_info_t *info,  /* from flash_asm.S */  extern void ull_write(unsigned long long volatile *address, -                      unsigned long long volatile *data); +		      unsigned long long volatile *data);  extern void ull_read(unsigned long long volatile *address, -                     unsigned long long volatile *data); +		     unsigned long long volatile *data);  /*-----------------------------------------------------------------------   */ @@ -268,7 +268,7 @@ int	flash_erase (flash_info_t *info, int s_first, int s_last)  			ull_write(f_addr, &f_command);  			printf (" timeout\n");  			return 1; -        } +	}  	} while(*f_addr != 0xFFFFFFFFFFFFFFFFULL);      printf (" done\n"); diff --git a/board/rsdproto/u-boot.lds b/board/rsdproto/u-boot.lds index 7d3886da2..bdc75c13d 100644 --- a/board/rsdproto/u-boot.lds +++ b/board/rsdproto/u-boot.lds @@ -98,6 +98,11 @@ SECTIONS    _edata  =  .;    PROVIDE (edata = .); +  __u_boot_cmd_start = .; +  .u_boot_cmd : { *(.u_boot_cmd) } +  __u_boot_cmd_end = .; + +    __start___ex_table = .;    __ex_table : { *(__ex_table) }    __stop___ex_table = .; @@ -120,4 +125,3 @@ SECTIONS    _end = . ;    PROVIDE (end = .);  } - |