boot: Allow to register boot entry providers
bootentry_create_from_name() takes a name and creates bootentries
for it. It tries different providers that interpret the name:
blspec, bootchooser or script pathes. Instead of hardcoding the
different providers in the function, allow the providers to register
themselves.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0c7c7fe commit b9abc5322e2a18828fbfab5e081f846f0c4199cc
@Sascha Hauer Sascha Hauer authored on 5 Apr 2017
Showing 2 changed files
View
common/boot.c
View
include/boot.h