summaryrefslogtreecommitdiffstats
path: root/commands/cp.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-02-12 15:16:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-14 08:56:40 +0100
commit4c368ee077b8918bf68979e8079439fcf55ac13f (patch)
treecc289ddf6726be8d0592c1862548110709091c8d /commands/cp.c
parentddfed65a82f2b2f17cad494ba77a6e3a6238b5c6 (diff)
downloadbarebox-4c368ee077b8918bf68979e8079439fcf55ac13f.tar.gz
barebox-4c368ee077b8918bf68979e8079439fcf55ac13f.tar.xz
commands: boot: refactor boot entry creation to use iterators
We currently create all boot entries before attempting boot. This is less than optimal, because this may involve probing devices that won't be used for actual boot. In preparation for changing this, refactor the code, so we only have one loop we need to touch. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/cp.c')
0 files changed, 0 insertions, 0 deletions