bootvx: x86: Prepare e820 related stuff from the given kernel memory base address
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Apr 2018 05:02:07 +0000 (22:02 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 16 Apr 2018 08:54:51 +0000 (16:54 +0800)
commit2902be86c1496244800ee15a148a4907bf9a3492
treea654074e5d69612b7dfe44a496e0ea8c9e7105a2
parent2ad3d088d2177908bd9bc7a988bd75fe55c6874c
bootvx: x86: Prepare e820 related stuff from the given kernel memory base address

At present two environment variables 'e820data'/'e820info' are required
to boot a VxWorks x86 kernel, but this is superfluous. The offset of
these two tables are actually at a fixed offset from the kernel memory
base address and we can provide the kernel memory base address to U-Boot
via only one variable 'vx_phys_mem_base'.

Note as it name indicates, the physical address should be provided.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
cmd/elf.c
doc/README.vxworks
include/vxworks.h