summaryrefslogtreecommitdiff
path: root/include/configs/x86-common.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/x86-common.h
parent99a309f323a8574923ddcc9abb3ba9252daf1e21 (diff)
downloadu-boot-imx-3d5bbbc47190071a69fca817647ed3ec13a36d81.zip
u-boot-imx-3d5bbbc47190071a69fca817647ed3ec13a36d81.tar.gz
u-boot-imx-3d5bbbc47190071a69fca817647ed3ec13a36d81.tar.bz2
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/x86-common.h')
-rw-r--r--include/configs/x86-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index bf4758e..31f9904 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -21,6 +21,7 @@
#define CONFIG_DISPLAY_BOARDINFO_LATE
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_LAST_STAGE_INIT
+#define CONFIG_NR_DRAM_BANKS 8
#define CONFIG_LMB
#define CONFIG_OF_LIBFDT