Commit 12308dfe authored by Sascha Hauer's avatar Sascha Hauer

mxc: remove do not include directly

Everyone should be free to include the files he actually needs.
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 37d6fb62
...@@ -12,10 +12,6 @@ ...@@ -12,10 +12,6 @@
#ifndef __ASM_ARCH_MXC_MX1_H__ #ifndef __ASM_ARCH_MXC_MX1_H__
#define __ASM_ARCH_MXC_MX1_H__ #define __ASM_ARCH_MXC_MX1_H__
#ifndef __ASM_ARCH_MXC_HARDWARE_H__
#error "Do not include directly."
#endif
#include <mach/vmalloc.h> #include <mach/vmalloc.h>
/* /*
......
...@@ -25,11 +25,6 @@ ...@@ -25,11 +25,6 @@
#ifndef __ASM_ARCH_MXC_MX21_H__ #ifndef __ASM_ARCH_MXC_MX21_H__
#define __ASM_ARCH_MXC_MX21_H__ #define __ASM_ARCH_MXC_MX21_H__
#ifndef __ASM_ARCH_MXC_HARDWARE_H__
#error "Do not include directly."
#endif
/* Memory regions and CS */ /* Memory regions and CS */
#define SDRAM_BASE_ADDR 0xC0000000 #define SDRAM_BASE_ADDR 0xC0000000
#define CSD1_BASE_ADDR 0xC4000000 #define CSD1_BASE_ADDR 0xC4000000
......
...@@ -24,10 +24,6 @@ ...@@ -24,10 +24,6 @@
#ifndef __ASM_ARCH_MXC_MX27_H__ #ifndef __ASM_ARCH_MXC_MX27_H__
#define __ASM_ARCH_MXC_MX27_H__ #define __ASM_ARCH_MXC_MX27_H__
#ifndef __ASM_ARCH_MXC_HARDWARE_H__
#error "Do not include directly."
#endif
/* IRAM */ /* IRAM */
#define IRAM_BASE_ADDR 0xFFFF4C00 /* internal ram */ #define IRAM_BASE_ADDR 0xFFFF4C00 /* internal ram */
......
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
#ifndef __ASM_ARCH_MXC_MX2x_H__ #ifndef __ASM_ARCH_MXC_MX2x_H__
#define __ASM_ARCH_MXC_MX2x_H__ #define __ASM_ARCH_MXC_MX2x_H__
#ifndef __ASM_ARCH_MXC_HARDWARE_H__
#error "Do not include directly."
#endif
/* The following addresses are common between i.MX21 and i.MX27 */ /* The following addresses are common between i.MX21 and i.MX27 */
/* Register offests */ /* Register offests */
......
...@@ -11,10 +11,6 @@ ...@@ -11,10 +11,6 @@
#ifndef __ASM_ARCH_MXC_MX31_H__ #ifndef __ASM_ARCH_MXC_MX31_H__
#define __ASM_ARCH_MXC_MX31_H__ #define __ASM_ARCH_MXC_MX31_H__
#ifndef __ASM_ARCH_MXC_HARDWARE_H__
#error "Do not include directly."
#endif
/* /*
* MX31 memory map: * MX31 memory map:
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment