diff options
author | Semen Protsenko <semen.protsenko@linaro.org> | 2017-05-22 16:16:40 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-12 12:36:21 (GMT) |
commit | fa24eca1f20a037d2dcbd1eae7ac8b2ecb1b0423 (patch) | |
tree | 41301b3d7f26d7594d0b9aafa63ab88192558ef8 /arch/arm/include/asm/omap_common.h | |
parent | cdde7de0364ffa505d631b342f1a2fa729e8e67d (diff) | |
download | u-boot-fa24eca1f20a037d2dcbd1eae7ac8b2ecb1b0423.tar.xz |
omap: Add routine for setting fastboot variables
This patch reuses new option, which allows us to expose variables
from environment to "fastboot getvar" command. Those variables must be
of "fastboot.%s" format.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/omap_common.h')
-rw-r--r-- | arch/arm/include/asm/omap_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 7fb322a..d2ca277 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm/omap_common.h @@ -655,6 +655,12 @@ void omap_die_id_get_board_serial(struct tag_serialnr *serialnr); void omap_die_id_usbethaddr(void); void omap_die_id_display(void); +#ifdef CONFIG_FASTBOOT_FLASH +void omap_set_fastboot_vars(void); +#else +static inline void omap_set_fastboot_vars(void) { } +#endif + void recalibrate_iodelay(void); void omap_smc1(u32 service, u32 val); |