From 9653eefe40c7945a85b8c17657f17dc9e2ed3776 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 5 Apr 2017 16:29:36 +0200 Subject: bootchooser: export bootchooser_boot Some boards that boot directly from C code do already know that they want to boot from bootchooser and nothing else. For these it's easiest to call bootchooser_boot directly, so export this function. Signed-off-by: Sascha Hauer --- include/bootchooser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/bootchooser.h b/include/bootchooser.h index 246258e8c9..7822c01459 100644 --- a/include/bootchooser.h +++ b/include/bootchooser.h @@ -13,6 +13,8 @@ int bootchooser_put(struct bootchooser *bootchooser); void bootchooser_info(struct bootchooser *bootchooser); +int bootchooser_boot(struct bootchooser *bc); + struct bootchooser_target *bootchooser_get_last_chosen(struct bootchooser *bootchooser); const char *bootchooser_target_name(struct bootchooser_target *target); struct bootchooser_target *bootchooser_target_by_name(struct bootchooser *bootchooser, -- cgit v1.2.3