
On Wed, May 1, 2019 at 9:03 PM Bin Meng bmeng.cn@gmail.com wrote:
On Fri, Apr 26, 2019 at 12:00 PM Simon Glass sjg@chromium.org wrote:
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
Changes in v2:
- Update commit message to make it clear this patch is just for broadwell
- Bring in sdram_console_tx_byte() to allow debugging
arch/x86/cpu/broadwell/Makefile | 2 +- arch/x86/cpu/broadwell/northbridge.c | 100 +++++++++++++++++++++++++++ arch/x86/cpu/broadwell/sdram.c | 93 ------------------------- 3 files changed, 101 insertions(+), 94 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!