Skip to content

Commit

Permalink
Merge tag 'm68knommu-for-v5.19' of git://git.kernel.org/pub/scm/linux…
Browse files Browse the repository at this point in the history
…/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
  • Loading branch information
torvalds committed May 30, 2022
2 parents b00ed48 + 6b8be80 commit 2d2da47
Show file tree
Hide file tree
Showing 25 changed files with 93 additions and 576 deletions.
10 changes: 0 additions & 10 deletions arch/m68k/Kconfig.bus
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,6 @@ config ATARI_ROM_ISA
The only driver currently using this adapter is the EtherNEC
driver for RTL8019AS based NE2000 compatible network cards.

config GENERIC_ISA_DMA
def_bool ISA

source "drivers/zorro/Kconfig"

endif

if COLDFIRE

config ISA_DMA_API
def_bool !M5272

endif
2 changes: 1 addition & 1 deletion arch/m68k/Kconfig.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endchoice
if M68KCLASSIC

config M68000
bool
def_bool y
depends on !MMU
select CPU_HAS_NO_BITFIELDS
select CPU_HAS_NO_CAS
Expand Down
1 change: 1 addition & 0 deletions arch/m68k/Kconfig.machine
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ comment "Machine Options"

config UBOOT
bool "Support for U-Boot command line parameters"
depends on COLDFIRE
help
If you say Y here kernel will try to collect command
line parameters from the initial u-boot stack.
Expand Down
2 changes: 1 addition & 1 deletion arch/m68k/coldfire/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

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

obj-$(CONFIG_COLDFIRE) += cache.o clk.o device.o dma.o entry.o vectors.o
obj-$(CONFIG_COLDFIRE) += cache.o clk.o device.o entry.o vectors.o
obj-$(CONFIG_M5206) += m5206.o intc.o reset.o
obj-$(CONFIG_M5206e) += m5206.o intc.o reset.o
obj-$(CONFIG_M520x) += m520x.o intc-simr.o reset.o
Expand Down
43 changes: 0 additions & 43 deletions arch/m68k/coldfire/dma.c

This file was deleted.

2 changes: 1 addition & 1 deletion arch/m68k/coldfire/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
unsigned char mcf_irq2imr[NR_IRQS];

/*
* Define the miniumun and maximum external interrupt numbers.
* Define the minimum and maximum external interrupt numbers.
* This is also used as the "level" interrupt numbers.
*/
#define EIRQ1 25
Expand Down
2 changes: 1 addition & 1 deletion arch/m68k/coldfire/m53xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ int clock_pll(int fsys, int flags)
writel(readl(MCF_SDRAMC_SDCR) | MCF_SDRAMC_SDCR_CKE,
MCF_SDRAMC_SDCR);

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

/* wait for DQS logic to relock */
Expand Down
2 changes: 1 addition & 1 deletion arch/m68k/coldfire/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static struct pci_bus *rootbus;
static unsigned long iospace;

/*
* We need to be carefull probing on bus 0 (directly connected to host
* We need to be careful probing on bus 0 (directly connected to host
* bridge). We should only access the well defined possible devices in
* use, ignore aliases and the like.
*/
Expand Down
7 changes: 0 additions & 7 deletions arch/m68k/hp300/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,6 @@ static int hp300_hwclk(int op, struct rtc_time *t)
return 0;
}

static unsigned int hp300_get_ss(void)
{
return hp300_rtc_read(RTC_REG_SEC1) * 10 +
hp300_rtc_read(RTC_REG_SEC2);
}

static void __init hp300_init_IRQ(void)
{
}
Expand All @@ -256,7 +250,6 @@ void __init config_hp300(void)
mach_init_IRQ = hp300_init_IRQ;
mach_get_model = hp300_get_model;
mach_hwclk = hp300_hwclk;
mach_get_ss = hp300_get_ss;
mach_reset = hp300_reset;
#ifdef CONFIG_HEARTBEAT
mach_heartbeat = hp300_pulse;
Expand Down
Loading

0 comments on commit 2d2da47

Please sign in to comment.