From 79302812c1f0f13daeb7e81a9d22087b19f86128 Mon Sep 17 00:00:00 2001 From: Barry Song Date: Mon, 13 Jul 2015 21:48:37 +0800 Subject: [PATCH 1/5] ARM: prima2_defconfig: fix the outdated defconfig this patch is againest v4.2-rc1, by doing: $ make ARCH=arm prima2_defconfig $ make ARCH=arm savedefconfig $ cp defconfig arch/arm/configs/prima2_defconfig Signed-off-by: Barry Song --- arch/arm/configs/prima2_defconfig | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs/prima2_defconfig index f610230b9c1f..ded0cad9803c 100644 --- a/arch/arm/configs/prima2_defconfig +++ b/arch/arm/configs/prima2_defconfig @@ -1,4 +1,3 @@ -CONFIG_EXPERIMENTAL=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_RELAY=y @@ -11,14 +10,12 @@ CONFIG_PARTITION_ADVANCED=y CONFIG_BSD_DISKLABEL=y CONFIG_SOLARIS_X86_PARTITION=y CONFIG_ARCH_SIRF=y -# CONFIG_SWP_EMULATE is not set CONFIG_SMP=y CONFIG_SCHED_MC=y CONFIG_PREEMPT=y CONFIG_AEABI=y CONFIG_KEXEC=y CONFIG_BINFMT_MISC=y -CONFIG_PM=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y @@ -60,12 +57,12 @@ CONFIG_ROMFS_FS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=y -CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_INFO=y CONFIG_DEBUG_SECTION_MISMATCH=y +CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_PREEMPT is not set CONFIG_DEBUG_RT_MUTEXES=y CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_MUTEXES=y -CONFIG_DEBUG_INFO=y CONFIG_CRC_CCITT=y From de124e87425c801e187a301604873265094153f3 Mon Sep 17 00:00:00 2001 From: Barry Song Date: Mon, 13 Jul 2015 21:55:17 +0800 Subject: [PATCH 2/5] ARM: prima2_defconfig: enable build for SiRFSoC SDHC host this patch enables the MMC/SDHCI driver for SiRFSoC platforms. Signed-off-by: Barry Song --- arch/arm/configs/prima2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs/prima2_defconfig index ded0cad9803c..cf3acc8d370d 100644 --- a/arch/arm/configs/prima2_defconfig +++ b/arch/arm/configs/prima2_defconfig @@ -42,6 +42,7 @@ CONFIG_USB_MASS_STORAGE=m CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_SIRF=y CONFIG_DMADEVICES=y CONFIG_DMADEVICES_DEBUG=y CONFIG_DMADEVICES_VDEBUG=y From 9dd105430a1708ae8692aaa98ee324553d0dbdd8 Mon Sep 17 00:00:00 2001 From: Barry Song Date: Mon, 13 Jul 2015 21:59:52 +0800 Subject: [PATCH 3/5] ARM: prima2_defconfig: enable build for misc input we need INPUT_MISC to enable INPUT_SIRFSOC_ONKEY which is the onkey driver for SiRFSoC platforms. Signed-off-by: Barry Song --- arch/arm/configs/prima2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs/prima2_defconfig index cf3acc8d370d..88d416f53462 100644 --- a/arch/arm/configs/prima2_defconfig +++ b/arch/arm/configs/prima2_defconfig @@ -26,6 +26,7 @@ CONFIG_CHR_DEV_SG=y CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_MOUSE is not set CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_INPUT_MISC=y CONFIG_SERIAL_SIRFSOC=y CONFIG_SERIAL_SIRFSOC_CONSOLE=y CONFIG_HW_RANDOM=y From 3cbedb88478009cf5415a8eb1804eceb7088bb1a Mon Sep 17 00:00:00 2001 From: Barry Song Date: Mon, 13 Jul 2015 22:05:10 +0800 Subject: [PATCH 4/5] ARM: prima2_defconfig: enable build for RTC This patch enables RTC_CLASS and RTC driver for SiRFSoC platforms. Signed-off-by: Barry Song --- arch/arm/configs/prima2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs/prima2_defconfig index 88d416f53462..a9c1c33e5097 100644 --- a/arch/arm/configs/prima2_defconfig +++ b/arch/arm/configs/prima2_defconfig @@ -44,6 +44,8 @@ CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_SIRF=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_SIRFSOC=y CONFIG_DMADEVICES=y CONFIG_DMADEVICES_DEBUG=y CONFIG_DMADEVICES_VDEBUG=y From 764c222555fe80cbc8fcbed985863e9b07858d51 Mon Sep 17 00:00:00 2001 From: Barry Song Date: Mon, 13 Jul 2015 22:13:47 +0800 Subject: [PATCH 5/5] ARM: prima2_defconfig: enable build for hwspinlock This patch enables hardware spinlock driver for CSRatlas7 platforms. Signed-off-by: Barry Song --- arch/arm/configs/prima2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs/prima2_defconfig index a9c1c33e5097..7cc8e8e4d296 100644 --- a/arch/arm/configs/prima2_defconfig +++ b/arch/arm/configs/prima2_defconfig @@ -50,6 +50,7 @@ CONFIG_DMADEVICES=y CONFIG_DMADEVICES_DEBUG=y CONFIG_DMADEVICES_VDEBUG=y CONFIG_SIRF_DMA=y +CONFIG_HWSPINLOCK_SIRF=y # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXT2_FS=y CONFIG_MSDOS_FS=y