projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Convert the U-Boot commands to LG-arrays
[platform/kernel/u-boot.git]
/
arch
/
sparc
/
lib
/
board.c
diff --git
a/arch/sparc/lib/board.c
b/arch/sparc/lib/board.c
index
ff0e0f2
..
32d025a
100644
(file)
--- a/
arch/sparc/lib/board.c
+++ b/
arch/sparc/lib/board.c
@@
-246,8
+246,8
@@
void board_init_f(ulong bootflag)
/*
* We have to relocate the command table manually
*/
/*
* We have to relocate the command table manually
*/
- fixup_cmdtable(
&__u_boot_cmd_start
,
-
(ulong)(&__u_boot_cmd_end - &__u_boot_cmd_start
));
+ fixup_cmdtable(
ll_entry_start(cmd_tbl_t, cmd)
,
+
ll_entry_count(cmd_tbl_t, cmd
));
#endif /* defined(CONFIG_NEEDS_MANUAL_RELOC) */
#if defined(CONFIG_CMD_AMBAPP) && defined(CONFIG_SYS_AMBAPP_PRINT_ON_STARTUP)
#endif /* defined(CONFIG_NEEDS_MANUAL_RELOC) */
#if defined(CONFIG_CMD_AMBAPP) && defined(CONFIG_SYS_AMBAPP_PRINT_ON_STARTUP)