]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: dm: Mark driver model as dead when disabling CAR
authorSimon Glass <sjg@chromium.org>
Thu, 7 Sep 2023 15:58:20 +0000 (09:58 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:03:46 +0000 (06:03 +0800)
commit6acc07236562a5dc9cf9e29b2fd889f8643652f5
treefb52c98c5e37834e75fcd4ad9e618e6634e84ac4
parentcd1ee5d96e05c6ce2589d4f2e4ccdba202872dc7
x86: dm: Mark driver model as dead when disabling CAR

When turning off CAR, set the flag to make sure that nothing tries to use
driver model in SPL before jumping to U-Bot proper, since its tables are
in CAR.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/spl.c