From: Yangbo Lu Date: Fri, 10 Apr 2020 06:34:44 +0000 (+0800) Subject: layerscape: disable UEFI runtime support in config-5.4 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=670684d9d44c8b60a561e3164b3873f7be08a49c;p=openwrt%2Fstaging%2Fjogo.git layerscape: disable UEFI runtime support in config-5.4 Disable CONFIG_EFI (UEFI runtime support) in config-5.4, while is not required. Signed-off-by: Yangbo Lu --- diff --git a/target/linux/layerscape/armv7/config-5.4 b/target/linux/layerscape/armv7/config-5.4 index d2f38e9b00..3e242a2245 100644 --- a/target/linux/layerscape/armv7/config-5.4 +++ b/target/linux/layerscape/armv7/config-5.4 @@ -223,9 +223,6 @@ CONFIG_DMA_OF=y CONFIG_DMA_REMAP=y CONFIG_DMA_SHARED_BUFFER=y CONFIG_DMA_VIRTUAL_CHANNELS=y -CONFIG_DMI=y -CONFIG_DMIID=y -# CONFIG_DMI_SYSFS is not set CONFIG_DNOTIFY=y CONFIG_DTC=y CONFIG_DT_IDLE_STATES=y @@ -238,17 +235,6 @@ CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y CONFIG_EEPROM_93CX6=y CONFIG_EEPROM_AT24=y -CONFIG_EFI=y -# CONFIG_EFIVAR_FS is not set -CONFIG_EFI_ARMSTUB=y -# CONFIG_EFI_ARMSTUB_DTB_LOADER is not set -# CONFIG_EFI_CAPSULE_LOADER is not set -CONFIG_EFI_ESRT=y -CONFIG_EFI_PARAMS_FROM_FDT=y -CONFIG_EFI_RUNTIME_WRAPPERS=y -CONFIG_EFI_STUB=y -# CONFIG_EFI_TEST is not set -# CONFIG_EFI_VARS is not set CONFIG_ELF_CORE=y # CONFIG_ENABLE_DEFAULT_TRACERS is not set CONFIG_ENABLE_MUST_CHECK=y @@ -559,7 +545,6 @@ CONFIG_PCI_ECAM=y CONFIG_PCI_HOST_COMMON=y CONFIG_PCI_HOST_GENERIC=y # CONFIG_PCI_IMX6 is not set -CONFIG_PCI_LABEL=y CONFIG_PCI_LAYERSCAPE=y CONFIG_PCI_MSI=y CONFIG_PCI_MSI_IRQ_DOMAIN=y @@ -632,7 +617,6 @@ CONFIG_REGMAP=y CONFIG_REGMAP_I2C=y CONFIG_REGMAP_MMIO=y CONFIG_REGMAP_SPI=y -# CONFIG_RESET_ATTACK_MITIGATION is not set CONFIG_RESET_CONTROLLER=y CONFIG_RFS_ACCEL=y CONFIG_RING_BUFFER=y @@ -641,7 +625,6 @@ CONFIG_RTC_CLASS=y # CONFIG_RTC_DRV_CMOS is not set CONFIG_RTC_DRV_DS1307=y CONFIG_RTC_DRV_DS3232=y -# CONFIG_RTC_DRV_EFI is not set CONFIG_RTC_DRV_EM3027=y CONFIG_RTC_DRV_FSL_FTM_ALARM=y # CONFIG_RTC_DRV_IMXDI is not set @@ -753,7 +736,6 @@ CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y CONFIG_UBIFS_FS_ZSTD=y # CONFIG_UCLAMP_TASK is not set -CONFIG_UCS2_STRING=y CONFIG_UEVENT_HELPER_PATH="" CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" CONFIG_UNIX_DIAG=y diff --git a/target/linux/layerscape/armv8_64b/config-5.4 b/target/linux/layerscape/armv8_64b/config-5.4 index 9a2cf63833..a8025dac23 100644 --- a/target/linux/layerscape/armv8_64b/config-5.4 +++ b/target/linux/layerscape/armv8_64b/config-5.4 @@ -1,5 +1,4 @@ CONFIG_64BIT=y -# CONFIG_ACPI is not set # CONFIG_AHCI_XGENE is not set CONFIG_AQUANTIA_PHY=y CONFIG_ARCH_CLOCKSOURCE_DATA=y @@ -44,7 +43,6 @@ CONFIG_ARCH_PROC_KCORE_TEXT=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SPARSEMEM_ENABLE=y -CONFIG_ARCH_SUPPORTS_ACPI=y CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_ARCH_SUPPORTS_INT128=y @@ -221,7 +219,6 @@ CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_ZSTD=y CONFIG_DCACHE_WORD_ACCESS=y CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_EFI is not set CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_INFO_REDUCED is not set CONFIG_DEBUG_MEMORY_INIT=y @@ -245,9 +242,6 @@ CONFIG_DMA_OF=y CONFIG_DMA_REMAP=y CONFIG_DMA_SHARED_BUFFER=y CONFIG_DMA_VIRTUAL_CHANNELS=y -CONFIG_DMI=y -CONFIG_DMIID=y -# CONFIG_DMI_SYSFS is not set CONFIG_DNOTIFY=y CONFIG_DPAA2_CONSOLE=y CONFIG_DRM_RCAR_WRITEBACK=y @@ -256,18 +250,7 @@ CONFIG_DT_IDLE_STATES=y CONFIG_DUMMY_CONSOLE=y CONFIG_EDAC_SUPPORT=y CONFIG_EEPROM_AT24=y -CONFIG_EFI=y -CONFIG_EFIVAR_FS=y -CONFIG_EFI_ARMSTUB=y -# CONFIG_EFI_ARMSTUB_DTB_LOADER is not set -# CONFIG_EFI_CAPSULE_LOADER is not set CONFIG_EFI_EARLYCON=y -CONFIG_EFI_ESRT=y -CONFIG_EFI_PARAMS_FROM_FDT=y -CONFIG_EFI_RUNTIME_WRAPPERS=y -CONFIG_EFI_STUB=y -# CONFIG_EFI_TEST is not set -# CONFIG_EFI_VARS is not set CONFIG_ELF_CORE=y # CONFIG_EMBEDDED is not set CONFIG_ENABLE_MUST_CHECK=y @@ -294,7 +277,6 @@ CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_CMDLINE=y CONFIG_FB_DEFERRED_IO=y -# CONFIG_FB_EFI is not set CONFIG_FB_MODE_HELPERS=y CONFIG_FB_SYS_COPYAREA=y CONFIG_FB_SYS_FILLRECT=y @@ -754,7 +736,6 @@ CONFIG_PCI_HISI=y CONFIG_PCI_HOST_COMMON=y CONFIG_PCI_HOST_GENERIC=y CONFIG_PCI_IOV=y -CONFIG_PCI_LABEL=y CONFIG_PCI_LAYERSCAPE=y CONFIG_PCI_MSI=y CONFIG_PCI_MSI_IRQ_DOMAIN=y @@ -821,7 +802,6 @@ CONFIG_REGMAP=y CONFIG_REGMAP_I2C=y CONFIG_REGMAP_MMIO=y CONFIG_REGMAP_SPI=y -# CONFIG_RESET_ATTACK_MITIGATION is not set CONFIG_RESET_CONTROLLER=y CONFIG_RFS_ACCEL=y CONFIG_RODATA_FULL_DEFAULT_ENABLED=y @@ -829,7 +809,6 @@ CONFIG_RPS=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_DS1307=y CONFIG_RTC_DRV_DS3232=y -CONFIG_RTC_DRV_EFI=y CONFIG_RTC_DRV_FSL_FTM_ALARM=y CONFIG_RTC_DRV_PCF2127=y CONFIG_RTC_DRV_PL031=y @@ -934,7 +913,6 @@ CONFIG_UBIFS_FS=y CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y CONFIG_UBIFS_FS_ZSTD=y -CONFIG_UCS2_STRING=y CONFIG_UIO=y CONFIG_UIO_AEC=y CONFIG_UIO_CIF=y @@ -1001,7 +979,6 @@ CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_DEV_EVTCHN=y CONFIG_XEN_DOM0=y -CONFIG_XEN_EFI=y CONFIG_XEN_FBDEV_FRONTEND=y CONFIG_XEN_GNTDEV=y CONFIG_XEN_GRANT_DEV_ALLOC=y