From 6c9f970096f3dff240b0ab366d94a72f4fbd557c Mon Sep 17 00:00:00 2001 From: Dragos Motrea Date: Wed, 31 May 2017 14:07:30 +0200 Subject: Optimized the kernel foot print of the Host Image In order to decrease the size of the kernel I removed unnecessary modules (drivers, debug capabilities) Signed-off-by: Dragos Motrea Signed-off-by: Adrian Dudau --- features/mmc/mmc_n.cfg | 29 +++++++++++++++++++++++++++++ features/mmc/mmc_n.scc | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 features/mmc/mmc_n.cfg create mode 100644 features/mmc/mmc_n.scc (limited to 'features/mmc') diff --git a/features/mmc/mmc_n.cfg b/features/mmc/mmc_n.cfg new file mode 100644 index 0000000..552d5f8 --- /dev/null +++ b/features/mmc/mmc_n.cfg @@ -0,0 +1,29 @@ +CONFIG_MMC=n +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC_BLOCK=n +CONFIG_MMC_BLOCK_MINORS=8 +CONFIG_MMC_BLOCK_BOUNCE=n +# CONFIG_SDIO_UART is not set +# CONFIG_MMC_TEST is not set + +# +# MMC/SD/SDIO Host Controller Drivers +# +CONFIG_MMC_SDHCI=n +CONFIG_MMC_SDHCI_PCI=n +CONFIG_MMC_RICOH_MMC=n +CONFIG_MMC_SDHCI_ACPI=n +CONFIG_MMC_SDHCI_PLTFM=n +# CONFIG_MMC_WBSD is not set +# CONFIG_MMC_TIFM_SD is not set +# CONFIG_MMC_SPI is not set +# CONFIG_MMC_CB710 is not set +# CONFIG_MMC_VIA_SDMMC is not set +# CONFIG_MMC_VUB300 is not set +# CONFIG_MMC_USHC is not set +# CONFIG_MMC_USDHI6ROL0 is not set +# CONFIG_MMC_TOSHIBA_PCI is not set +# CONFIG_MMC_MTK is not set +# CONFIG_MEMSTICK is not set diff --git a/features/mmc/mmc_n.scc b/features/mmc/mmc_n.scc new file mode 100644 index 0000000..16442ec --- /dev/null +++ b/features/mmc/mmc_n.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Disable options for mmc/sd-card support" +define KFEATURE_COMPATIBILITY all + +kconf non-hardware mmc_n.cfg -- cgit v1.2.3-54-g00ecf