diff options
| author | Simon Glass <[email protected]> | 2019-12-28 10:44:56 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-01-17 13:27:28 -0500 |
| commit | 35a3f871fcf6a80ff42885782c3ba10d7fc62046 (patch) | |
| tree | 625b969156e65aba83273d336a568a46e65e4db2 /include/init.h | |
| parent | 6f5fb71240cda307dcc3c031a1bce3ab4f15c308 (diff) | |
common: Move ll_boot_init() to init.h
This is an init-related function so belongs in that file. Move it.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/init.h')
| -rw-r--r-- | include/init.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h index f6105de6660..c5498476f8c 100644 --- a/include/init.h +++ b/include/init.h @@ -16,6 +16,13 @@ struct global_data; #ifndef __ASSEMBLY__ /* put C only stuff in this section */ +/* Avoid using CONFIG_EFI_STUB directly as we may boot from other loaders */ +#ifdef CONFIG_EFI_STUB +#define ll_boot_init() false +#else +#define ll_boot_init() true +#endif + /* * Function Prototypes */ |
