linux-raspberrypi: Drop support for CMDLINE_NFSROOT_USB

This is obsolete, undocumented and won't work anyway since we force the kernel
command line to ${CMDLINE} via the cmdline.txt file.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
This commit is contained in:
Paul Barker 2018-04-16 16:24:44 +00:00 committed by Andrei Gherzan
parent be2d9b1bf6
commit 66103edbb8

View File

@ -109,20 +109,6 @@ do_configure_prepend() {
# Localversion
kernel_configure_variable LOCALVERSION "\"\""
# root-over-nfs-over-usb-eth support. Limited, but should cover some cases
# Enable this by setting a proper CMDLINE_NFSROOT_USB.
if [ ! -z "${CMDLINE_NFSROOT_USB}" ]; then
oenote "Configuring the kernel for root-over-nfs-over-usb-eth with CMDLINE ${CMDLINE_NFSROOT_USB}"
kernel_configure_variable INET y
kernel_configure_variable IP_PNP y
kernel_configure_variable USB_GADGET y
kernel_configure_variable USB_GADGET_SELECTED y
kernel_configure_variable USB_ETH y
kernel_configure_variable NFS_FS y
kernel_configure_variable ROOT_NFS y
kernel_configure_variable ROOT_NFS y
kernel_configure_variable CMDLINE "\"${CMDLINE_NFSROOT_USB}\""
fi
if [ ! -z "${KERNEL_INITRAMFS}" ]; then
kernel_configure_variable OVERLAY_FS y
kernel_configure_variable SQUASHFS y