Skip to content

Commit 2d2da47

Browse files
committed
Merge tag 'm68knommu-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
Pull m68knommu updates from Greg Ungerer: "A collection of changes to add elf-fdpic loader support for m68k. Also a collection of various fixes. They include typo corrections, undefined symbol compilation fixes, removal of the ISA_DMA_API support and removal of unused code. Summary: - correctly set up ZERO_PAGE pointer - drop ISA_DMA_API support - fix comment typos - fixes for undefined symbols - remove unused code and variables - elf-fdpic loader support for m68k" * tag 'm68knommu-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: m68knommu: fix 68000 CPU link with no platform selected m68k: removed unused "mach_get_ss" m68knommu: fix undefined reference to `mach_get_rtc_pll' m68knommu: fix undefined reference to `_init_sp' m68knommu: allow elf_fdpic loader to be selected m68knommu: add definitions to support elf_fdpic program loader m68knommu: implement minimal regset support m68knommu: use asm-generic/mmu.h for nommu setups m68k: fix typos in comments m68k: coldfire: drop ISA_DMA_API support m68knommu: set ZERO_PAGE() to the allocated zeroed page
2 parents b00ed48 + 6b8be80 commit 2d2da47

File tree

25 files changed

+93
-576
lines changed

25 files changed

+93
-576
lines changed

arch/m68k/Kconfig.bus

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@ config ATARI_ROM_ISA
5656
The only driver currently using this adapter is the EtherNEC
5757
driver for RTL8019AS based NE2000 compatible network cards.
5858

59-
config GENERIC_ISA_DMA
60-
def_bool ISA
61-
6259
source "drivers/zorro/Kconfig"
6360

6461
endif
65-
66-
if COLDFIRE
67-
68-
config ISA_DMA_API
69-
def_bool !M5272
70-
71-
endif

arch/m68k/Kconfig.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ endchoice
3737
if M68KCLASSIC
3838

3939
config M68000
40-
bool
40+
def_bool y
4141
depends on !MMU
4242
select CPU_HAS_NO_BITFIELDS
4343
select CPU_HAS_NO_CAS

arch/m68k/Kconfig.machine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ comment "Machine Options"
352352

353353
config UBOOT
354354
bool "Support for U-Boot command line parameters"
355+
depends on COLDFIRE
355356
help
356357
If you say Y here kernel will try to collect command
357358
line parameters from the initial u-boot stack.

arch/m68k/coldfire/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1
1717

18-
obj-$(CONFIG_COLDFIRE) += cache.o clk.o device.o dma.o entry.o vectors.o
18+
obj-$(CONFIG_COLDFIRE) += cache.o clk.o device.o entry.o vectors.o
1919
obj-$(CONFIG_M5206) += m5206.o intc.o reset.o
2020
obj-$(CONFIG_M5206e) += m5206.o intc.o reset.o
2121
obj-$(CONFIG_M520x) += m520x.o intc-simr.o reset.o

arch/m68k/coldfire/dma.c

Lines changed: 0 additions & 43 deletions
This file was deleted.

arch/m68k/coldfire/intc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
unsigned char mcf_irq2imr[NR_IRQS];
2929

3030
/*
31-
* Define the miniumun and maximum external interrupt numbers.
31+
* Define the minimum and maximum external interrupt numbers.
3232
* This is also used as the "level" interrupt numbers.
3333
*/
3434
#define EIRQ1 25

arch/m68k/coldfire/m53xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ int clock_pll(int fsys, int flags)
532532
writel(readl(MCF_SDRAMC_SDCR) | MCF_SDRAMC_SDCR_CKE,
533533
MCF_SDRAMC_SDCR);
534534

535-
/* Errata - workaround for SDRAM opeartion after exiting LIMP mode */
535+
/* Errata - workaround for SDRAM operation after exiting LIMP mode */
536536
writel(MCF_SDRAMC_REFRESH, MCF_SDRAMC_LIMP_FIX);
537537

538538
/* wait for DQS logic to relock */

arch/m68k/coldfire/pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static struct pci_bus *rootbus;
3131
static unsigned long iospace;
3232

3333
/*
34-
* We need to be carefull probing on bus 0 (directly connected to host
34+
* We need to be careful probing on bus 0 (directly connected to host
3535
* bridge). We should only access the well defined possible devices in
3636
* use, ignore aliases and the like.
3737
*/

arch/m68k/hp300/config.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,6 @@ static int hp300_hwclk(int op, struct rtc_time *t)
240240
return 0;
241241
}
242242

243-
static unsigned int hp300_get_ss(void)
244-
{
245-
return hp300_rtc_read(RTC_REG_SEC1) * 10 +
246-
hp300_rtc_read(RTC_REG_SEC2);
247-
}
248-
249243
static void __init hp300_init_IRQ(void)
250244
{
251245
}
@@ -256,7 +250,6 @@ void __init config_hp300(void)
256250
mach_init_IRQ = hp300_init_IRQ;
257251
mach_get_model = hp300_get_model;
258252
mach_hwclk = hp300_hwclk;
259-
mach_get_ss = hp300_get_ss;
260253
mach_reset = hp300_reset;
261254
#ifdef CONFIG_HEARTBEAT
262255
mach_heartbeat = hp300_pulse;

0 commit comments

Comments
 (0)