diff options
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/include/init.h b/include/init.h index f2cd46dead0..20c3976af09 100644 --- a/include/init.h +++ b/include/init.h @@ -14,8 +14,11 @@ #include <linux/types.h> -/* Avoid using CONFIG_EFI_STUB directly as we may boot from other loaders */ -#ifdef CONFIG_EFI_STUB +/* + * In case of the EFI app the UEFI firmware provides the low-level + * initialisation. + */ +#ifdef CONFIG_EFI #define ll_boot_init() false #else #include <asm/global_data.h> @@ -308,6 +311,16 @@ int board_early_init_r(void); int arch_initr_trap(void); /** + * init_addr_map() + * + * Initialize non-identity virtual-physical memory mappings for 32bit CPUs. + * It is called during the generic board init sequence, after relocation. + * + * Return: 0 if OK + */ +int init_addr_map(void); + +/** * main_loop() - Enter the main loop of U-Boot * * This normally runs the command line. |