]> git.dujemihanovic.xyz Git - u-boot.git/commit
global_data: Add a generic global_data flag for SMP state
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:17 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:45 +0000 (09:46 +0800)
commit50e9cac1070bcf700eca18212d510afaa4752b21
treec381dfb6cc43a879136f6e335617395272ec6840
parentc33aa3527d7a005f980839ef3607c305ff504054
global_data: Add a generic global_data flag for SMP state

Allow keeping track of whether all CPUs have been enabled yet. This allows
us to know whether other CPUs need to be considered when updating
CPU-specific settings such as MTRRs on x86.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/asm-generic/global_data.h