]> git.baikalelectronics.ru Git - uboot.git/commit
x86: broadwell: Allow SDRAM init from SPL
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:58:49 +0000 (21:58 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:12 +0000 (13:02 +0800)
commit5f259064329dc3d60295160285eb45619c0a2785
treec2eb75c2204851f03b2e612a36b1e96026c5b7f5
parent4ca1707957c68940f349b19eb3be89cc5fd2eda6
x86: broadwell: Allow SDRAM init from SPL

At present, for broadwell, SDRAM is always set up in U-Boot proper since
the 64-bit mode (which uses SDRAM init in SPL) is not supported.

Update the code to allow SDRAM init in SPL instead so that U-Boot proper
can be loaded into SDRAM and run from there. This allows U-Boot to be
compressed to reduce space, since it is not necessary to run it directly
from flash. It could later allow us to support 64-bit U-Boot on broadwell.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/broadwell/Makefile
arch/x86/cpu/broadwell/northbridge.c
arch/x86/cpu/broadwell/sdram.c