diff options
author | Tom Rini <trini@konsulko.com> | 2022-04-05 13:45:22 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-05 13:45:22 -0400 |
commit | 59bffec43a657598b194b9eb30dc01eec06078c7 (patch) | |
tree | 80a668bc14a348be6be49a9808e811a7f4bb82c4 /include/init.h | |
parent | 037ef53cf01c522073a0a930c84c3ca858f032e1 (diff) | |
parent | da61ee662554f98fac0ab19c6b893edd82edb098 (diff) |
Merge branch '2022-04-04-platform-updates'
- Updates for exynos78x0 and TI K3 platforms
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h index 74496500d2..7b8f62c121 100644 --- a/include/init.h +++ b/include/init.h @@ -155,6 +155,19 @@ int arch_setup_bdinfo(void); */ int setup_bdinfo(void); +#if defined(CONFIG_SAVE_PREV_BL_INITRAMFS_START_ADDR) || \ +defined(CONFIG_SAVE_PREV_BL_FDT_ADDR) +/** + * save_prev_bl_data - Save prev bl data in env vars. + * + * When u-boot is chain-loaded, save previous bootloader data, + * like initramfs address to environment variables. + * + * Return: 0 if ok; -ENODATA on error + */ +int save_prev_bl_data(void); +#endif + /** * cpu_secondary_init_r() - CPU-specific secondary initialization * |