aboutsummaryrefslogtreecommitdiff
path: root/cmd/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/elf.c')
-rw-r--r--cmd/elf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/elf.c b/cmd/elf.c
index 1017039..5e69867 100644
--- a/cmd/elf.c
+++ b/cmd/elf.c
@@ -211,7 +211,7 @@ int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#ifdef CONFIG_X86
ulong base;
struct e820_info *info;
- struct e820entry *data;
+ struct e820_entry *data;
#endif
/*
@@ -340,13 +340,13 @@ int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
* if we don't specify it in the environment, use a default one.
*/
base = env_get_hex("vx_phys_mem_base", VXWORKS_PHYS_MEM_BASE);
- data = (struct e820entry *)(base + E820_DATA_OFFSET);
+ data = (struct e820_entry *)(base + E820_DATA_OFFSET);
info = (struct e820_info *)(base + E820_INFO_OFFSET);
memset(info, 0, sizeof(struct e820_info));
info->sign = E820_SIGNATURE;
info->entries = install_e820_map(E820MAX, data);
- info->addr = (info->entries - 1) * sizeof(struct e820entry) +
+ info->addr = (info->entries - 1) * sizeof(struct e820_entry) +
E820_DATA_OFFSET;
/*