diff options
author | Bin Meng | 2018-04-11 22:02:09 -0700 |
---|---|---|
committer | Bin Meng | 2018-04-16 16:54:51 +0800 |
commit | fa5e91f778fe8aba1fa9a7d0d7f64abdf3080ac9 (patch) | |
tree | 933a9ab5ff8bb3678bb0a71c16e24638ddd01667 /cmd/elf.c | |
parent | 1351700cf2eec9fd928dace86de0aabdb34dfeb5 (diff) |
vxworks: x86: Rename e820info to e820_info
This changes 'struct e820info' to 'struct e820_info' to conform
with the coding style.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'cmd/elf.c')
-rw-r--r-- | cmd/elf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/elf.c b/cmd/elf.c index 22d1918144d..1017039c3e4 100644 --- a/cmd/elf.c +++ b/cmd/elf.c @@ -210,7 +210,7 @@ int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) int ptr = 0; #ifdef CONFIG_X86 ulong base; - struct e820info *info; + struct e820_info *info; struct e820entry *data; #endif @@ -341,9 +341,9 @@ int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) */ base = env_get_hex("vx_phys_mem_base", VXWORKS_PHYS_MEM_BASE); data = (struct e820entry *)(base + E820_DATA_OFFSET); - info = (struct e820info *)(base + E820_INFO_OFFSET); + info = (struct e820_info *)(base + E820_INFO_OFFSET); - memset(info, 0, sizeof(struct e820info)); + 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) + |