CONFIG_SECTION_MISMATCH_WARN_ONLY=y

## Architecture
CONFIG_ARCH_DEFCONFIG="arch/riscv/configs/defconfig"
CONFIG_NONPORTABLE=y
#ifdef RV32
CONFIG_ARCH_RV32I=y
#endif
#ifdef RV64
CONFIG_ARCH_RV64I=y
#endif
CONFIG_RISCV_ISA_M=y
CONFIG_RISCV_ISA_A=y
CONFIG_RISCV_ISA_C=RVC
CONFIG_SIFIVE_PLIC=y
#ifdef FPU
CONFIG_FPU=y
#else
CONFIG_FPU=n
#endif
#ifdef RVH
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
#endif
CONFIG_SMP=y
CONFIG_STRICT_KERNEL_RWX=n
CONFIG_EFI=n
CONFIG_HVC_RISCV_SBI=y

CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y

## Time
CONFIG_PRINTK_TIME=y

## Interrupts
CONFIG_IRQCHIP=y
CONFIG_OF_IRQ=y

## Ethernet
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_PACKET_DIAG=y
CONFIG_INET=y
CONFIG_NETDEVICES=y

## Serial
CONFIG_SERIAL_EARLYCON_RISCV_SBI=y

CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y

## .config in kernel
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y

## Filesystem
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NCPFS_SMALLDOS=y
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_TMPFS=y
