From: Alistair Francis Date: Wed, 20 Mar 2019 23:05:21 +0000 (+0000) Subject: board/qemu/riscv32-virt: simplify the linux config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4359e877d39d1bc95bae092b6b16d76b9e25c030;p=buildroot.git board/qemu/riscv32-virt: simplify the linux config Reduce the config fragment to the bare minimum to enable 32-bit support. This means we are as close as possible to the arch defconfig. Signed-off-by: Alistair Francis Signed-off-by: Thomas Petazzoni --- diff --git a/board/qemu/riscv32-virt/linux.config.fragment b/board/qemu/riscv32-virt/linux.config.fragment index 2ecc83c8e1..bca9aa61c7 100644 --- a/board/qemu/riscv32-virt/linux.config.fragment +++ b/board/qemu/riscv32-virt/linux.config.fragment @@ -1,104 +1,12 @@ +CONFIG_32BIT=y CONFIG_ARCH_RV32I=y # CONFIG_ARCH_RV64I is not set -# CONFIG_ATA is not set -# CONFIG_AUTOFS4_FS is not set -# CONFIG_AUTOFS_FS is not set -# CONFIG_BACKLIGHT_LCD_SUPPORT is not set -# CONFIG_BLK_DEV_INITRD is not set -# CONFIG_BLK_DEV_LOOP is not set -# CONFIG_BPF_SYSCALL is not set -# CONFIG_CGROUPS is not set -# CONFIG_CHECKPOINT_RESTORE is not set -# CONFIG_CMODEL_MEDANY is not set -CONFIG_CMODEL_MEDLOW=y -CONFIG_CRYPTO_AEAD=y -CONFIG_CRYPTO_BLKCIPHER=y -CONFIG_CRYPTO_DEV_VIRTIO=y -CONFIG_CRYPTO_DRBG=y -CONFIG_CRYPTO_DRBG_MENU=y -CONFIG_CRYPTO_ECHAINIV=y -CONFIG_CRYPTO_ENGINE=y -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_JITTERENTROPY=y -CONFIG_CRYPTO_MANAGER=y -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_RNG=y -CONFIG_CRYPTO_RNG_DEFAULT=y -CONFIG_CRYPTO_SHA256=y -# CONFIG_CRYPTO_USER_API_HASH is not set -# CONFIG_DEBUG_KERNEL is not set -CONFIG_DEBUG_MEMORY_INIT=y -# CONFIG_DRM is not set -# CONFIG_ETHERNET is not set -# CONFIG_EXPERT is not set -CONFIG_EXT2_FS=y -# CONFIG_EXT4_FS_POSIX_ACL is not set -# CONFIG_FB is not set -CONFIG_FRAME_WARN=1024 -# CONFIG_FTRACE is not set -CONFIG_HID_A4TECH=y -CONFIG_HID_APPLE=y -CONFIG_HID_BELKIN=y -CONFIG_HID_CHERRY=y -CONFIG_HID_CHICONY=y -CONFIG_HID_CYPRESS=y -CONFIG_HID_EZKEY=y -CONFIG_HID_ITE=y -CONFIG_HID_KENSINGTON=y -CONFIG_HID_LOGITECH=y -CONFIG_HID_MICROSOFT=y -CONFIG_HID_MONTEREY=y -CONFIG_HID_REDRAGON=y -# CONFIG_HVC_RISCV_SBI is not set -CONFIG_HW_RANDOM=y -# CONFIG_I2C is not set -# CONFIG_IKCONFIG is not set -CONFIG_INPUT_FF_MEMLESS=y -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_IP_ADVANCED_ROUTER is not set -# CONFIG_IP_MULTICAST is not set -# CONFIG_IP_PNP is not set -# CONFIG_KEYS is not set CONFIG_MAXPHYSMEM_2GB=y -# CONFIG_MDIO_DEVICE is not set -# CONFIG_MODULES is not set -# CONFIG_MSDOS_FS is not set -# CONFIG_NETLINK_DIAG is not set -# CONFIG_NFS_FS is not set -# CONFIG_NLS is not set -CONFIG_PAGE_OFFSET=0xC0000000 -# CONFIG_PCIE_XILINX is not set -CONFIG_PGTABLE_LEVELS=2 -# CONFIG_PHYLIB is not set -# CONFIG_POSIX_MQUEUE is not set -# CONFIG_POWER_SUPPLY is not set -# CONFIG_PRINTK_TIME is not set -# CONFIG_PROC_CHILDREN is not set -# CONFIG_RAS is not set -# CONFIG_SCSI is not set -# CONFIG_SIFIVE_PLIC is not set -# CONFIG_SYNC_FILE is not set -# CONFIG_TMPFS_POSIX_ACL is not set -# CONFIG_TMPFS_XATTR is not set -# CONFIG_USB is not set -# CONFIG_USER_NS is not set -# CONFIG_VFAT_FS is not set -CONFIG_VIRT_DRIVERS=y -# CONFIG_VT_HW_CONSOLE_BINDING is not set -# CONFIG_WIRELESS is not set -# CONFIG_WLAN is not set -# CONFIG_XZ_DEC is not set -CONFIG_32BIT=y -# CONFIG_EXT2_FS_XATTR is not set +CONFIG_LBDAF=y +# CONFIG_SCSI_NSP32 is not set CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_LIB_ASHLDI3=y CONFIG_GENERIC_LIB_ASHRDI3=y CONFIG_GENERIC_LIB_LSHRDI3=y CONFIG_GENERIC_LIB_UCMPDI2=y -# CONFIG_HID_LOGITECH_HIDPP is not set -CONFIG_LBDAF=y -# CONFIG_LOGIG940_FF is not set -# CONFIG_LOGIRUMBLEPAD2_FF is not set -# CONFIG_LOGITECH_FF is not set -# CONFIG_LOGIWHEELS_FF is not set - +CONFIG_GENERIC_LIB_UMODDI3=y