diff options
| author | Simon Glass <[email protected]> | 2019-12-28 10:44:56 -0700 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2020-01-24 23:06:48 +0530 |
| commit | cc3ac11d81446c31a5bedd31887618b9a70439dd (patch) | |
| tree | db6745edafdd5f76ce075862bd8c523f64933b5c /include | |
| parent | b14d1af81dbe32e89316c9226c7a2aa52b28cb41 (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')
| -rw-r--r-- | include/common.h | 7 | ||||
| -rw-r--r-- | include/init.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h index f38dc2ef3fb..a971f75f8bc 100644 --- a/include/common.h +++ b/include/common.h @@ -114,13 +114,6 @@ int get_serial_clock(void); offsetof(struct structure, member) == offset, \ "`struct " #structure "` offset for `" #member "` is not " #offset) -/* 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 - /* Pull in stuff for the build system */ #ifdef DO_DEPS_ONLY # include <env_internal.h> 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 */ |
