]> git.baikalelectronics.ru Git - uboot.git/commit
fastboot: remove #ifdef CONFIG when it is possible
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 15 Dec 2022 09:15:50 +0000 (10:15 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 11 Jan 2023 20:02:24 +0000 (15:02 -0500)
commit3b554fa53f7b0b1ed0ce84a5508a26dbb229eeae
treee930acd2e053c08c3ae60ab63e6e4ff4e52749f6
parentb891ca2baae42c6806b91fa85521707eadbde44f
fastboot: remove #ifdef CONFIG when it is possible

Much of the fastboot code predates the introduction of Kconfig and
has quite a few #ifdefs in it which is unnecessary now that we can use
IS_ENABLED() et al.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on vim3l
cmd/fastboot.c
drivers/fastboot/fb_command.c
drivers/fastboot/fb_common.c
drivers/fastboot/fb_getvar.c
drivers/usb/gadget/f_fastboot.c
include/fastboot.h
net/fastboot.c