diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-05-03 13:49:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-12 07:59:59 +0200 |
commit | fab1f406fdb82f2876f48c3c9e33672c963809e2 (patch) | |
tree | 2a801a7ba42596d1c358f94ee3c34b1eed392c8c /drivers | |
parent | d0f115bb774b4c013be2852296836dadd2d73aa4 (diff) | |
download | barebox-fab1f406fdb82f2876f48c3c9e33672c963809e2.tar.gz barebox-fab1f406fdb82f2876f48c3c9e33672c963809e2.tar.xz |
common: make FILE_LIST feature unconditional
CONFIG_FILE_LIST controls whether the file_list_* family of functions
are compiled. common/file-list.o does not register any initcalls and
there is no code that is dependent on it being available: it's selected
as required. This means linker GC can completely get rid of it if
required, so drop the symbol.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210503114901.13095-16-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 7e0c570914..4ed6cbbee1 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -45,7 +45,6 @@ comment "USB Gadget drivers" config USB_GADGET_DFU bool - select FILE_LIST prompt "Device Firmware Update Gadget" config USB_GADGET_SERIAL @@ -56,7 +55,6 @@ config USB_GADGET_SERIAL config USB_GADGET_FASTBOOT bool select BANNER - select FILE_LIST select FASTBOOT_BASE prompt "Android Fastboot USB Gadget" endif |