]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/common.h
exynos: Drop old exynos5420-specific board code
[karo-tx-uboot.git] / include / common.h
index 4566bd11111c97061856a4386e883fa53f784bab..fcc9ae7c21cf5b2ff5e2e57264bfa908f739fc99 100644 (file)
@@ -1021,6 +1021,13 @@ int cpu_release(int nr, int argc, char * const argv[]);
        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 <environment.h>