]> git.baikalelectronics.ru Git - uboot.git/commit
x86: fsp: Support a warning message when DRAM init is slow
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:43:17 +0000 (18:43 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit3b656bad30d29d386dd3c6940a574b3e40a9713a
treee797cbeef5ba4fb68a87501773d48a8fba228351
parent6c1fd24b8ea819fbe85fc43638b991b398ed2d86
x86: fsp: Support a warning message when DRAM init is slow

With DDR4, Intel SOCs take quite a long time to init their memory. During
this time, if the user is watching, it looks like SPL has hung. Add a
message in this case.

This works by adding a return code to fspm_update_config() that indicates
whether MRC data was found and a new property to the device tree.

Also add one more debug message while starting.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Tested-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
arch/x86/cpu/apollolake/fsp_m.c
arch/x86/dts/chromebook_coral.dts
arch/x86/include/asm/fsp2/fsp_internal.h
arch/x86/lib/fsp2/fsp_meminit.c
doc/device-tree-bindings/fsp/fsp2/apollolake/fsp-m.txt