diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-23 12:38:08 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-04 15:19:53 +0200 |
commit | 02480b3a74c2df416f2c3107c7bcb1fa27234a69 (patch) | |
tree | 5f06a21e2dee87f5a9d26434eee585ec6974202e /arch/arm/mach-mxs | |
parent | ed07306aa8246a5f9a6fe85b8dc5878c12ba2796 (diff) | |
download | barebox-02480b3a74c2df416f2c3107c7bcb1fa27234a69.tar.gz barebox-02480b3a74c2df416f2c3107c7bcb1fa27234a69.tar.xz |
ARM i.MX/MXS: Allow to include imx*-regs.h directly
In fact we can be happy about everyone including the files directly.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/imx23-regs.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-mxs/include/mach/imx28-regs.h | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-mxs/include/mach/imx23-regs.h b/arch/arm/mach-mxs/include/mach/imx23-regs.h index ade3139596..7fb664b334 100644 --- a/arch/arm/mach-mxs/include/mach/imx23-regs.h +++ b/arch/arm/mach-mxs/include/mach/imx23-regs.h @@ -15,13 +15,6 @@ #ifndef __ASM_ARCH_MX23_REGS_H #define __ASM_ARCH_MX23_REGS_H -/* - * sanity check - */ -#ifndef _IMX_REGS_H -# error "Please do not include directly. Use imx-regs.h instead." -#endif - #define IMX_MEMORY_BASE 0x40000000 #define MXS_APBH_BASE 0x80004000 #define MXS_BCH_BASE 0x8000a000 diff --git a/arch/arm/mach-mxs/include/mach/imx28-regs.h b/arch/arm/mach-mxs/include/mach/imx28-regs.h index 16bf5f7a60..fa8edd7d4b 100644 --- a/arch/arm/mach-mxs/include/mach/imx28-regs.h +++ b/arch/arm/mach-mxs/include/mach/imx28-regs.h @@ -13,13 +13,6 @@ #ifndef __ASM_ARCH_MX28_REGS_H #define __ASM_ARCH_MX28_REGS_H -/* - * sanity check - */ -#ifndef _IMX_REGS_H -# error "Please do not include directly. Use imx-regs.h instead." -#endif - #define IMX_SRAM_BASE 0x00000000 #define IMX_MEMORY_BASE 0x40000000 |