From dfc8946f58bbf4aa3a345c4fb5d5895502936edd Mon Sep 17 00:00:00 2001 From: Gabriel Ionescu Date: Thu, 22 Mar 2018 10:42:42 +0100 Subject: Kernel: Add fragments to support booting from an USB and CDROM The patch adds support for booting the live image and installer off of various storage types, including USB sticks and CDROMs. Signed-off-by: Gabriel Ionescu Signed-off-by: Adrian Dudau --- features/usb/ohci_m.cfg | 4 ++++ features/usb/ohci_m.scc | 5 +++++ features/usb/usb_storage_m.cfg | 1 + features/usb/usb_storage_m.scc | 5 +++++ 4 files changed, 15 insertions(+) create mode 100644 features/usb/ohci_m.cfg create mode 100644 features/usb/ohci_m.scc create mode 100644 features/usb/usb_storage_m.cfg create mode 100644 features/usb/usb_storage_m.scc (limited to 'features/usb') diff --git a/features/usb/ohci_m.cfg b/features/usb/ohci_m.cfg new file mode 100644 index 0000000..4b21a91 --- /dev/null +++ b/features/usb/ohci_m.cfg @@ -0,0 +1,4 @@ +CONFIG_USB_OHCI_HCD=m +CONFIG_USB_OHCI_HCD_PCI=m +CONFIG_USB_OHCI_HCD_PLATFORM=m +CONFIG_USB_UHCI_HCD=m diff --git a/features/usb/ohci_m.scc b/features/usb/ohci_m.scc new file mode 100644 index 0000000..43544cb --- /dev/null +++ b/features/usb/ohci_m.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "Enable OHCI as module" + +define KFEATURE_COMPATIBILITY all + +kconf hardware ohci_m.cfg diff --git a/features/usb/usb_storage_m.cfg b/features/usb/usb_storage_m.cfg new file mode 100644 index 0000000..c99c095 --- /dev/null +++ b/features/usb/usb_storage_m.cfg @@ -0,0 +1 @@ +CONFIG_USB_STORAGE=m diff --git a/features/usb/usb_storage_m.scc b/features/usb/usb_storage_m.scc new file mode 100644 index 0000000..c4c0ebf --- /dev/null +++ b/features/usb/usb_storage_m.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "Enable USB storage as module" + +define KFEATURE_COMPATIBILITY all + +kconf hardware usb_storage_m.cfg -- cgit v1.2.3-54-g00ecf