summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_usb.c3
-rw-r--r--src/config/defaults/efi.h1
-rw-r--r--src/config/defaults/pcbios.h1
-rw-r--r--src/config/usb.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/src/config/config_usb.c b/src/config/config_usb.c
index 17296d277..b679aeb27 100644
--- a/src/config/config_usb.c
+++ b/src/config/config_usb.c
@@ -53,6 +53,9 @@ REQUIRE_OBJECT ( usbio );
#ifdef USB_KEYBOARD
REQUIRE_OBJECT ( usbkbd );
#endif
+#ifdef USB_BLOCK
+REQUIRE_OBJECT ( usbblk );
+#endif
/*
* Drag in USB external interfaces
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index e707dfa6a..4ae6a316e 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -39,6 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define USB_HCD_EHCI /* EHCI USB host controller */
#define USB_HCD_UHCI /* UHCI USB host controller */
#define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
+#define USB_BLOCK /* USB block devices */
#define REBOOT_CMD /* Reboot command */
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index 21821c95c..41afb9033 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -48,6 +48,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define USB_HCD_EHCI /* EHCI USB host controller */
#define USB_HCD_UHCI /* UHCI USB host controller */
#define USB_KEYBOARD /* USB keyboards */
+#define USB_BLOCK /* USB block devices */
#define REBOOT_CMD /* Reboot command */
#define CPUID_CMD /* x86 CPU feature detection command */
diff --git a/src/config/usb.h b/src/config/usb.h
index d2519d877..4252ec229 100644
--- a/src/config/usb.h
+++ b/src/config/usb.h
@@ -25,6 +25,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*
*/
//#undef USB_KEYBOARD /* USB keyboards */
+//#undef USB_BLOCK /* USB block devices */
/*
* USB external interfaces