]> git.dujemihanovic.xyz Git - u-boot.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)
commitd03799004640abfeb656e9db48d6f9b9e24383fb
treee930acd2e053c08c3ae60ab63e6e4ff4e52749f6
parent59dacc319030748817b28cce9c773e15f2b73dc8
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