[U-Boot] [PATCH v2 4/6] x86: Set CONFIG_NR_DRAM_BANKS to 8 and move it to x86-common.h

Simon Glass sjg at chromium.org
Fri May 8 19:36:32 CEST 2015


On 7 May 2015 at 07:34, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
>
> ---
>
> Changes in v2:
> - New patch to set CONFIG_NR_DRAM_BANKS to 8 and move it to x86-common.h
>
>  include/configs/crownbay.h       | 2 --
>  include/configs/galileo.h        | 2 --
>  include/configs/minnowmax.h      | 2 --
>  include/configs/qemu-x86.h       | 2 --
>  include/configs/x86-chromebook.h | 1 -
>  include/configs/x86-common.h     | 1 +
>  6 files changed, 1 insertion(+), 9 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list