diff options
author | Wonkyu Kim <wonkyu.kim@intel.com> | 2025-04-09 09:52:44 -0700 |
---|---|---|
committer | Jérémy Compostella <jeremy.compostella@intel.com> | 2025-04-29 18:53:04 +0000 |
commit | 4b871c6314cbd75692e74d1a91ca43719aa03b8c (patch) | |
tree | 539094c9f14e7b3e1b6e7d276dac89d5fa97e184 /src/cpu/intel/model_68x/Kconfig | |
parent | 08722cd9f95de5f2c5625f3e12f3129bcdfce4fa (diff) | |
download | coreboot-main.tar.gz coreboot-main.tar.bz2 coreboot-main.zip |
Use a static variable to cache the board ID. It optimizes boot time by
reading the ID once per stage and retaining it for subsequent use.
Rewrite the function to avoid the unnecessary ChromeEC wrapper function.
Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
Change-Id: I166ca1abdf7838f91319d0bcf11354055ed93eef
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87247
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/intel/model_68x/Kconfig')
0 files changed, 0 insertions, 0 deletions