mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
Blackfin: simplify symbol_lookup() a bit
No need to skip a byte as the symbol table handles this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
59f0978a7e
commit
a75fa148d6
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ static const char *symbol_lookup(unsigned long addr, unsigned long *caddr)
|
|||
|
||||
while (*sym) {
|
||||
sym_addr = simple_strtoul(sym, &esym, 16);
|
||||
sym = esym + 1;
|
||||
sym = esym;
|
||||
if (sym_addr > addr)
|
||||
break;
|
||||
*caddr = sym_addr;
|
||||
|
|
Loading…
Add table
Reference in a new issue