Merge tag 'm68knommu-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Nov 2021 22:22:05 +0000 (14:22 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Nov 2021 22:22:05 +0000 (14:22 -0800)
Pull m68knommu updates from Greg Ungerer:
 "Only two changes.

  One removes the now unused CONFIG_MCPU32 symbol. The other sets a
  default for the CONFIG_MEMORY_RESERVE config symbol (this aids
  scripting and other automation) so you don't interactively get asked
  for a value at configure time.

  Summary:

   - remove unused CONFIG_MCPU32 symbol

   - default CONFIG_MEMORY_RESERVE value (for scripting)"

* tag 'm68knommu-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
  m68knommu: Remove MCPU32 config symbol
  m68k: set a default value for MEMORY_RESERVE

arch/m68k/Kconfig.cpu
arch/m68k/Kconfig.machine
arch/m68k/include/asm/bitops.h

index 277d61a..0d00ef5 100644 (file)
@@ -53,17 +53,6 @@ config M68000
          System-On-Chip devices (eg 68328, 68302, etc). It does not contain
          a paging MMU.
 
-config MCPU32
-       bool
-       select CPU_HAS_NO_BITFIELDS
-       select CPU_HAS_NO_CAS
-       select CPU_HAS_NO_UNALIGNED
-       select CPU_NO_EFFICIENT_FFS
-       help
-         The Freescale (was then Motorola) CPU32 is a CPU core that is
-         based on the 68020 processor. For the most part it is used in
-         System-On-Chip parts, and does not contain a paging MMU.
-
 config M68020
        bool "68020 support"
        depends on MMU
index 36fa0c3..eeab4f3 100644 (file)
@@ -203,6 +203,7 @@ config INIT_LCD
 config MEMORY_RESERVE
        int "Memory reservation (MiB)"
        depends on (UCSIMM || UCDIMM)
+       default 0
        help
          Reserve certain memory regions on 68x328 based boards.
 
index 7b41409..7b93e1f 100644 (file)
@@ -451,7 +451,7 @@ static inline unsigned long ffz(unsigned long word)
  *     generic functions for those.
  */
 #if (defined(__mcfisaaplus__) || defined(__mcfisac__)) && \
-       !defined(CONFIG_M68000) && !defined(CONFIG_MCPU32)
+       !defined(CONFIG_M68000)
 static inline unsigned long __ffs(unsigned long x)
 {
        __asm__ __volatile__ ("bitrev %0; ff1 %0"