ARM: remove unused <asm/hardware/memc.h> header
Subsystems (2)
PATCH 1/1 ARM: remove unused <asm/hardware/memc.h> header
The <asm/hardware/memc.h> header is not used by any code in the kernel. It contains definitions for the MEMC memory controllers used in 26-bit Acorn computers.
Linux formerly supported these computers, but that support was removed in commit 99eb8a550dbc ("Remove the arm26 port") because it had bitrotted to the extent that it did not even compile.
Remove this unused header.
Signed-off-by Ethan Nelson-Moore <[email protected]>
--- MAINTAINERS | 1 - arch/arm/include/asm/hardware/memc.h | 23 ----------------------- 2 files changed, 24 deletions(-) delete mode 100644 arch/arm/include/asm/hardware/memc.h
MAINTAINERS +0 -1
@@ -3400,7 +3400,6 @@ S: Maintained W: http://www.armlinux.org.uk/ F: arch/arm/include/asm/hardware/ioc.h F: arch/arm/include/asm/hardware/iomd.h -F: arch/arm/include/asm/hardware/memc.h F: arch/arm/mach-rpc/ F: drivers/net/ethernet/8390/etherh.c F: drivers/net/ethernet/i825xx/ether1*
arch/arm/include/asm/hardware/memc.h deleted +0 -23
@@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* arch/arm/include/asm/hardware/memc.h -* -* Copyright (C) Russell King. -*/ -#define VDMA_ALIGNMENT PAGE_SIZE -#define VDMA_XFERSIZE 16 -#define VDMA_INIT 0 -#define VDMA_START 1 -#define VDMA_END 2 - -#ifndef __ASSEMBLY__ -extern void memc_write (unsigned int reg,unsigned long val); - -#define video_set_dma (start,end,offset) \ -do { \ - memc_write (VDMA_START, (start >> 2)); \ - memc_write (VDMA_END, (end - VDMA_XFERSIZE) >> 2); \ - memc_write (VDMA_INIT, (offset >> 2)); \ -} while (0) - -#endif
Signature · 1 line
2.43.0