x86: Set CONFIG_NR_DRAM_BANKS to 8 and move it to x86-common.h
authorBin Meng <bmeng.cn@gmail.com>
Thu, 7 May 2015 13:34:10 +0000 (21:34 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 08:39:38 +0000 (02:39 -0600)
commit3d5bbbc47190071a69fca817647ed3ec13a36d81
tree3c9bd5f278bbd82f92aa0afff7ab65300ac693ab
parent99a309f323a8574923ddcc9abb3ba9252daf1e21
x86: Set CONFIG_NR_DRAM_BANKS to 8 and move it to x86-common.h

Some x86 boards set CONFIG_NR_DRAM_BANKS to 1, which causes incorrect
DRAM size printed when booting from coreboot, like this:

CPU: x86, vendor Intel, device 663h
DRAM:  636 KiB
Using default environment

Change it to 8 which should be enough for both coreboot and bare
cases, and move it to x86-common.h.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/crownbay.h
include/configs/galileo.h
include/configs/minnowmax.h
include/configs/qemu-x86.h
include/configs/x86-chromebook.h
include/configs/x86-common.h