Skip to content

Commit

Permalink
Disable some unused kernel features to speed up boot
Browse files Browse the repository at this point in the history
  • Loading branch information
nisargjhaveri committed Aug 4, 2023
1 parent d6ff765 commit b9e145e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion aa_wireless_dongle/board/common/kernel.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# Add f_accessory function for usb gadget
CONFIG_USB_CONFIGFS_UEVENT=y
CONFIG_USB_CONFIGFS_F_ACC=y
CONFIG_USB_CONFIGFS_F_ACC=y

# Disable bnep in bluetooth
CONFIG_BT_BNEP=n

# Disable some kernel debugging options
CONFIG_DEBUG_BUGVERBOSE=n
CONFIG_DEBUG_FS=n
CONFIG_KGDB=n
CONFIG_DEBUG_MEMORY_INIT=n
CONFIG_FTRACE=n
CONFIG_SLUB_DEBUG=n

0 comments on commit b9e145e

Please sign in to comment.