Skip to content

Commit 6d76f6e

Browse files
committed
Merge tag 'm68knommu-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
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
2 parents 600b18f + 6dbe88e commit 6d76f6e

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

arch/m68k/Kconfig.cpu

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,6 @@ config M68000
5353
System-On-Chip devices (eg 68328, 68302, etc). It does not contain
5454
a paging MMU.
5555

56-
config MCPU32
57-
bool
58-
select CPU_HAS_NO_BITFIELDS
59-
select CPU_HAS_NO_CAS
60-
select CPU_HAS_NO_UNALIGNED
61-
select CPU_NO_EFFICIENT_FFS
62-
help
63-
The Freescale (was then Motorola) CPU32 is a CPU core that is
64-
based on the 68020 processor. For the most part it is used in
65-
System-On-Chip parts, and does not contain a paging MMU.
66-
6756
config M68020
6857
bool "68020 support"
6958
depends on MMU

arch/m68k/Kconfig.machine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ config INIT_LCD
203203
config MEMORY_RESERVE
204204
int "Memory reservation (MiB)"
205205
depends on (UCSIMM || UCDIMM)
206+
default 0
206207
help
207208
Reserve certain memory regions on 68x328 based boards.
208209

arch/m68k/include/asm/bitops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static inline unsigned long ffz(unsigned long word)
451451
* generic functions for those.
452452
*/
453453
#if (defined(__mcfisaaplus__) || defined(__mcfisac__)) && \
454-
!defined(CONFIG_M68000) && !defined(CONFIG_MCPU32)
454+
!defined(CONFIG_M68000)
455455
static inline unsigned long __ffs(unsigned long x)
456456
{
457457
__asm__ __volatile__ ("bitrev %0; ff1 %0"

0 commit comments

Comments
 (0)