summaryrefslogtreecommitdiffstats
path: root/common/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/module.c')
-rw-r--r--common/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/module.c b/common/module.c
index 302aefa..cedd702 100644
--- a/common/module.c
+++ b/common/module.c
@@ -295,7 +295,7 @@ struct module * load_module(void *mod_image, unsigned long len)
sym = (void *)sechdrs[symindex].sh_addr;
#ifdef CONFIG_COMMAND
- cmdindex = find_sec(ehdr, sechdrs, secstrings, ".u_boot_cmd");
+ cmdindex = find_sec(ehdr, sechdrs, secstrings, ".barebox_cmd");
if (cmdindex) {
cmd_tbl_t *cmd = (cmd_tbl_t *)sechdrs[cmdindex].sh_addr;
for (i = 0; i < sechdrs[cmdindex].sh_size / sizeof(cmd_tbl_t); i++) {