summaryrefslogtreecommitdiffstats
path: root/include/configs/qemu-x86.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-05-07 21:34:10 +0800
committerSimon Glass <sjg@chromium.org>2015-06-04 02:39:38 -0600
commit3d5bbbc47190071a69fca817647ed3ec13a36d81 (patch)
tree3c9bd5f278bbd82f92aa0afff7ab65300ac693ab /include/configs/qemu-x86.h
parent99a309f323a8574923ddcc9abb3ba9252daf1e21 (diff)
downloadtalos-obmc-uboot-3d5bbbc47190071a69fca817647ed3ec13a36d81.tar.gz
talos-obmc-uboot-3d5bbbc47190071a69fca817647ed3ec13a36d81.zip
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>
Diffstat (limited to 'include/configs/qemu-x86.h')
-rw-r--r--include/configs/qemu-x86.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index 463620d809..bb3c085dd8 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -15,8 +15,6 @@
#define CONFIG_SYS_MONITOR_LEN (1 << 20)
-#define CONFIG_NR_DRAM_BANKS 1
-
#define CONFIG_X86_SERIAL
#define CONFIG_PCI_MEM_BUS 0xc0000000
OpenPOWER on IntegriCloud