Minor code cleanup

This commit is contained in:
Wolfgang Denk
2005-08-12 23:43:12 +02:00
parent 50814844e4
commit b2f508075c
5 changed files with 27 additions and 27 deletions

View File

@@ -32,7 +32,7 @@ SOBJS := setup.o
gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`)
LOAD_ADDR = 0x10400000
LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/eeprom.lds
LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/eeprom.lds
all: $(LIB) eeprom.srec eeprom.bin

View File

@@ -146,7 +146,7 @@ int eeprom(int argc, char *argv[])
{
int i, len, ret;
unsigned char buf[58], *p;
app_startup(argv);
if (get_version() != XF_VERSION) {
printf("Wrong XF_VERSION.\n");
@@ -209,4 +209,3 @@ int eeprom(int argc, char *argv[])
return 0;
}

View File

@@ -7,6 +7,5 @@
*
*/
.globl _start
_start: b eeprom
.globl _start
_start: b eeprom