diff options
author | Nick Vaccaro <nvaccaro@google.com> | 2020-10-02 11:48:17 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2020-10-08 15:30:15 +0000 |
commit | 799437578ab29ba5451a7312e3f256d39decf06a (patch) | |
tree | 3823d571488a7ecd390f6f53e8619d86ef1c6df8 | |
parent | 1d2866829615bb9d027a91c0f301b8e9a1b50c6e (diff) | |
download | coreboot-799437578ab29ba5451a7312e3f256d39decf06a.tar.xz |
lib/fw_config: change BOOT_STATE_INIT_ENTRY to be BS_DEV_INIT_CHIPS
Make boot state init run before the init_chips code. This allows for
correcting tbt settings at a stage earlier than devicetree parsing.
BUG=b:167983038
TEST=none
Change-Id: I8364746ba311575e7de93fa25241ffef7faf35b4
Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45961
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/lib/fw_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fw_config.c b/src/lib/fw_config.c index fdfab0aab0..ec3205958d 100644 --- a/src/lib/fw_config.c +++ b/src/lib/fw_config.c @@ -127,5 +127,5 @@ static void fw_config_init(void *unused) } } } -BOOT_STATE_INIT_ENTRY(BS_DEV_ENUMERATE, BS_ON_ENTRY, fw_config_init, NULL); +BOOT_STATE_INIT_ENTRY(BS_DEV_INIT_CHIPS, BS_ON_ENTRY, fw_config_init, NULL); #endif |