Skip to content
Commit 6624392d authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

x86: sysreset: Set up LPC only after relocation



Probing LPC can cause PCI enumeration to take place, which significantly
increases pre-relocation memory usage. Also, LPC is somtimes enabled
directly by SPL.

Adjust the logic to probe the LPC only after relocation. This allows
chromebook_link64 to start up without a much larger
CONFIG_SYS_MALLOC_F_LEN value.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 3d0f885a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment