]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: bcb: Extract '__bcb_store' from 'do_bcb_store' for internal needs
authorEugeniu Rosca <erosca@de.adit-jv.com>
Fri, 23 Oct 2020 08:52:21 +0000 (11:52 +0300)
committerMarek Vasut <marex@denx.de>
Sun, 31 Jan 2021 13:08:56 +0000 (14:08 +0100)
commit3bd3c3625b3462266b83380fc3323467ae0fb710
tree77ab053f11dd00068ba7d1ac634d4b0ff73e2751
parent057bc05f2b818dade3617658a15aed7d49bcd557
cmd: bcb: Extract '__bcb_store' from 'do_bcb_store' for internal needs

Enriching the functionality of U-Boot 'bcb' may assume using the
existing sub-commands as building blocks for the next ones.

A clean way to achive the above is to expose a number of static
routines, each mapped to an existing user command (e.g. load/set/store),
with a user/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).

This third patch makes '__bcb_store' available for internal needs.

No functional change intended.

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Roman Kovalivskyi <roman.kovalivskyi@globallogic.com>
cmd/bcb.c