summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-04-02 19:54:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-02 21:52:10 +0200
commit8cdd85cf707583203b290f657f81a21a00bb312d (patch)
tree82d4e0a77eea7288e8c9681bdc32d68c4411097d
parentea5538c185bd26507400f5db415069c5af13ae10 (diff)
synopsys-hsdk: add defconfig, add MMC driver to mini.config (non-working)
-rw-r--r--target/arc/systems/synopsys-hsdk3
-rw-r--r--target/linux/Config.in.kernelcfg1
-rw-r--r--target/linux/config/Config.in.block18
3 files changed, 20 insertions, 2 deletions
diff --git a/target/arc/systems/synopsys-hsdk b/target/arc/systems/synopsys-hsdk
index 799813e0d..8e81915d2 100644
--- a/target/arc/systems/synopsys-hsdk
+++ b/target/arc/systems/synopsys-hsdk
@@ -2,13 +2,14 @@ config ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
bool "Synopsys HSDK"
select ADK_TARGET_LITTLE_ENDIAN
select ADK_TARGET_CPU_ARC_ARCHS
- select ADK_TARGET_KERNEL_UIMAGE
select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_WITH_NET
select ADK_TARGET_WITH_NETDEVICE
select ADK_TARGET_WITH_BLOCK
+ select ADK_TARGET_WITH_SD
select ADK_TARGET_WITH_SMP
select ADK_HOST_BUILD_U_BOOT
+ select ADK_TARGET_KERNEL_UIMAGE
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
Support for Synopsys HSDK.
diff --git a/target/linux/Config.in.kernelcfg b/target/linux/Config.in.kernelcfg
index facc5c9da..99cd55de2 100644
--- a/target/linux/Config.in.kernelcfg
+++ b/target/linux/Config.in.kernelcfg
@@ -66,6 +66,7 @@ config ADK_TARGET_LINUX_KERNEL_DEFCONFIG
default "spitz_defconfig" if ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ
default "haps_hs5x_defconfig" if ADK_TARGET_CPU_ARC_ARC32
default "haps_arc64_defconfig" if ADK_TARGET_CPU_ARC_ARC64
+ default "hsdk_defconfig" if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
default "m5208evb_defconfig" if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
default "default_defconfig" if ADK_TARGET_ARCH_KVX
default "ci20_defconfig" if ADK_TARGET_SYSTEM_IMGTEC_CI20
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 59fffad68..2da563549 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -489,8 +489,24 @@ config ADK_LINUX_KERNEL_MMC_BCM2835_MMC
default y if ADK_TARGET_BOARD_BCM28XX
default n
+config ADK_LINUX_KERNEL_MMC_DW
+ bool "SD card support for Synopsys HSDK board"
+ select ADK_LINUX_KERNEL_BLOCK
+ select ADK_LINUX_KERNEL_LBDAF
+ select ADK_LINUX_KERNEL_SCSI
+ select ADK_LINUX_KERNEL_MMC
+ select ADK_LINUX_KERNEL_MMC_SPI
+ select ADK_LINUX_KERNEL_MMC_BLOCK
+ select ADK_LINUX_KERNEL_BLK_DEV
+ select ADK_LINUX_KERNEL_BLK_DEV_SD
+ select ADK_LINUX_KERNEL_MMC_SDHCI
+ select ADK_LINUX_KERNEL_MMC_SDHCI_PLTFM
+ depends on ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
+ default y if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
+ default n
+
config ADK_LINUX_KERNEL_MMC_MVSDIO
- bool "SD card support for Soidrun Clearfog"
+ bool "SD card support for Solidrun Clearfog"
select ADK_LINUX_KERNEL_BLOCK
select ADK_LINUX_KERNEL_LBDAF
select ADK_LINUX_KERNEL_SCSI