ARM: at91: remove mach/at91_ramc.h and mach/at91rm9200_mc.h
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 16 Mar 2015 14:13:39 +0000 (15:13 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 20 May 2015 14:37:49 +0000 (16:37 +0200)
mach/at91_ramc.h and mach/at91rm9200_mc.h aren't necessary anymore, remove them.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/include/mach/at91_ramc.h [deleted file]
arch/arm/mach-at91/include/mach/at91rm9200_mc.h [deleted file]
arch/arm/mach-at91/pm.h
arch/arm/mach-at91/pm_suspend.S

index f472704..c5bbf8b 100644 (file)
@@ -1,9 +1,6 @@
 #
 # Makefile for the linux kernel.
 #
-ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
-asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
-
 obj-y          := soc.o
 
 # CPU-specific support
diff --git a/arch/arm/mach-at91/include/mach/at91_ramc.h b/arch/arm/mach-at91/include/mach/at91_ramc.h
deleted file mode 100644 (file)
index 3954749..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Header file for the Atmel RAM Controller
- *
- * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Under GPLv2 only
- */
-
-#ifndef __AT91_RAMC_H__
-#define __AT91_RAMC_H__
-
-#ifndef __ASSEMBLY__
-extern void __iomem *at91_ramc_base[];
-
-#define at91_ramc_read(id, field) \
-       __raw_readl(at91_ramc_base[id] + field)
-
-#define at91_ramc_write(id, field, value) \
-       __raw_writel(value, at91_ramc_base[id] + field)
-#else
-.extern at91_ramc_base
-#endif
-
-#include <linux/mfd/syscon/atmel-mc.h>
-#include <soc/at91/at91sam9_ddrsdr.h>
-#include <soc/at91/at91sam9_sdramc.h>
-
-#endif /* __AT91_RAMC_H__ */
diff --cc arch/arm/mach-at91/include/mach/at91rm9200_mc.h
Simple merge
Simple merge
Simple merge