x86: adjust ramdisk load address
authorMiao Yan <yanmiaobest@gmail.com>
Thu, 7 Jan 2016 09:31:59 +0000 (01:31 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jan 2016 04:20:15 +0000 (12:20 +0800)
commitece5c37f0cae1277a147e1c17f9d1bfabc3d2e95
tree2dea1a5db7773aa00ad1361f99e019ba40b7d225
parent87968de31d4771947fb7e88d451b0e516178ebf1
x86: adjust ramdisk load address

By default, ramdisk load address is defined to 02000000 in env string.
When loading bzImage to 01000000 (default address), there's a chance that
the ramdisk header would be overwritten by the kernel. Thus increase the
gap and make ramdisk load at 04000000 by default and also this patch
introduces a new configuration item CONFIG_RAMDISK_ADDR for this purpose

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/configs/x86-common.h