[linux] 01/01: [armel] Change MTD and RTC related to modules (fixes FTBFS)

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sat Aug 26 03:24:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

rosh-guest pushed a commit to branch master
in repository linux.

commit c55043a43eaacb9f876dabd71273b084cb024441
Author: Roger Shimizu <rogershimizu at gmail.com>
Date:   Sat Aug 26 11:55:48 2017 +0900

    [armel] Change MTD and RTC related to modules (fixes FTBFS)
    
    Change MTD_OF_PARTS, MTD_BLOCK, and MTD_PHYSMAP_OF from built-in
    to modules.
    
    And, also change all RTC related except RTC_DRV_MV, which includes
    RTC_DRV_DS1307, RTC_DRV_RS5C372, RTC_DRV_PCF8563, RTC_DRV_M41T80,
    and RTC_DRV_S35390A, to modules. Because most marvell boards use
    RTC_DRV_MV.
---
 debian/changelog                                         |  6 ++++++
 debian/config/armel/config.marvell                       | 16 ++++++++--------
 debian/installer/armel/modules/armel-marvell/mtd-modules |  3 +++
 3 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1217469..112718e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,12 @@ linux (4.13~rc6-1~exp1) UNRELEASED; urgency=medium
   [ Roger Shimizu ]
   * [armel] Disable CONFIG_STRICT_KERNEL_RWX, which will save about 3MB
     on linux Image (before compression).
+  * [armel] Change MTD_OF_PARTS, MTD_BLOCK, and MTD_PHYSMAP_OF from
+    built-in to modules.
+    Also change all RTC related except RTC_DRV_MV, which includes
+    RTC_DRV_DS1307, RTC_DRV_RS5C372, RTC_DRV_PCF8563, RTC_DRV_M41T80,
+    and RTC_DRV_S35390A, to modules. Because most marvell boards use
+    RTC_DRV_MV. (above two fix FTBFS)
 
  -- Ben Hutchings <ben at decadent.org.uk>  Sat, 19 Aug 2017 22:37:38 +0100
 
diff --git a/debian/config/armel/config.marvell b/debian/config/armel/config.marvell
index 24d5481..d53a4b5 100644
--- a/debian/config/armel/config.marvell
+++ b/debian/config/armel/config.marvell
@@ -351,8 +351,8 @@ CONFIG_MTD=y
 # CONFIG_MTD_REDBOOT_PARTS is not set
 CONFIG_MTD_CMDLINE_PARTS=y
 # CONFIG_MTD_AFS_PARTS is not set
-CONFIG_MTD_OF_PARTS=y
-CONFIG_MTD_BLOCK=y
+CONFIG_MTD_OF_PARTS=m
+CONFIG_MTD_BLOCK=m
 CONFIG_FTL=m
 CONFIG_NFTL=m
 # CONFIG_NFTL_RW is not set
@@ -406,7 +406,7 @@ CONFIG_MTD_CFI_STAA=m
 ## file: drivers/mtd/maps/Kconfig
 ##
 # CONFIG_MTD_COMPLEX_MAPPINGS is not set
-CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_PHYSMAP_OF=m
 # CONFIG_MTD_IMPA7 is not set
 # CONFIG_MTD_INTEL_VR_NOR is not set
 # CONFIG_MTD_PLATRAM is not set
@@ -542,11 +542,11 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=y
 ##
 ## file: drivers/rtc/Kconfig
 ##
-CONFIG_RTC_DRV_DS1307=y
-CONFIG_RTC_DRV_RS5C372=y
-CONFIG_RTC_DRV_PCF8563=y
-CONFIG_RTC_DRV_M41T80=y
-CONFIG_RTC_DRV_S35390A=y
+CONFIG_RTC_DRV_DS1307=m
+CONFIG_RTC_DRV_RS5C372=m
+CONFIG_RTC_DRV_PCF8563=m
+CONFIG_RTC_DRV_M41T80=m
+CONFIG_RTC_DRV_S35390A=m
 CONFIG_RTC_DRV_MV=y
 
 ##
diff --git a/debian/installer/armel/modules/armel-marvell/mtd-modules b/debian/installer/armel/modules/armel-marvell/mtd-modules
index a26280d..2a06475 100644
--- a/debian/installer/armel/modules/armel-marvell/mtd-modules
+++ b/debian/installer/armel/modules/armel-marvell/mtd-modules
@@ -5,3 +5,6 @@ gen_probe
 jedec_probe
 nand
 orion_nand
+ofpart
+mtdblock
+physmap_of

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list