CONFIG_RISCV=y
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_NR_DRAM_BANKS=1
CONFIG_DM_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="soph_asic"
CONFIG_IDENT_STRING="soph"
CONFIG_ARCH_RV64I=y
CONFIG_RISCV_SMODE=y
CONFIG_TARGET_CVITEK_CV181X=y
CONFIG_DISTRO_DEFAULTS=y
CONFIG_FIT=y
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
CONFIG_BOOTDELAY=1
CONFIG_SYS_PROMPT="soph# "
# CONFIG_CMD_CONSOLE is not set
# CONFIG_CMD_XIMG is not set
# CONFIG_CMD_EDITENV is not set
# CONFIG_CMD_CRC32 is not set
# CONFIG_CMD_LZMADEC is not set
# CONFIG_CMD_UNLZ4 is not set
# CONFIG_CMD_UNZIP is not set
CONFIG_CMD_GPIO=y
# CONFIG_CMD_LOADS is not set
CONFIG_CMD_MMC=y
# CONFIG_CMD_ITEST is not set
CONFIG_CMD_CACHE=y
# CONFIG_ISO_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_DWAPB_GPIO=y
CONFIG_MMC=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_SDMA=y
CONFIG_MMC_SDHCI_CVITEK=y
CONFIG_MTD=y
CONFIG_PHY_CVITEK=y
CONFIG_DM_ETH=y
CONFIG_ETH_DESIGNWARE=y
CONFIG_SYS_NS16550=y
CONFIG_SPI=y
# Armbian: the cvitek video stack is off on RISC-V. drivers/video/cvitek/
# cvi_mipi.c does its DSI lane timing in float and double, so it needs the
# soft-float helpers (__muldf3, __floatsidf, ...) from an lp64 libgcc. The
# vendor toolchain has that multilib; Debian's riscv64-linux-gnu-gcc is
# built without multilib and ships only an lp64d libgcc, so the link fails
# with a screenful of undefined references.
#
# Nothing in the Armbian boot path uses it: the distroboot patch drops
# SHOWLOGOCMD from CONFIG_BOOTCOMMAND, so U-Boot never draws the splash on
# either architecture, and the kernel brings up the display itself. Turning
# it off here is the whole fix - CONFIG_VIDEO_CVITEK is "default y if
# DM_VIDEO", and CONFIG_CMD_CVI_VO depends on it.
#
# The ARM defconfig keeps video, because aarch64-linux-gnu-gcc has the
# helpers and that configuration is verified on hardware. If the asymmetry
# ever becomes annoying, disabling it there too costs nothing.
# CONFIG_DM_VIDEO is not set
# CONFIG_VIDEO_CVITEK is not set
CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y
CONFIG_LZ4=y
CONFIG_LZMA=y
# CONFIG_TOOLS_LIBCRYPTO is not set
CONFIG_OF_LIBFDT_OVERLAY=y
