diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-03-08 10:11:51 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-24 09:40:33 -0400 |
commit | d57351a30fb02a345b9328adb73250310425421c (patch) | |
tree | f75f6b39a286273e7cf1fd7e61230b38abce3d54 /arch | |
parent | 1faeaab27b0b9d35acb3ce3a333cb38a30136a11 (diff) |
ARM: mx3/qong: get rid of nearly empty header
board-qong.h only defined a single symbol that was used only once.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx3/mach-qong.c | 3 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-qong.h | 17 |
2 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/mach-mx3/mach-qong.c b/arch/arm/mach-mx3/mach-qong.c index e5b5b8323a17..62281ad1ff45 100644 --- a/arch/arm/mach-mx3/mach-qong.c +++ b/arch/arm/mach-mx3/mach-qong.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <mach/common.h> | 34 | #include <mach/common.h> |
35 | #include <asm/page.h> | 35 | #include <asm/page.h> |
36 | #include <asm/setup.h> | 36 | #include <asm/setup.h> |
37 | #include <mach/board-qong.h> | ||
38 | #include <mach/imx-uart.h> | 37 | #include <mach/imx-uart.h> |
39 | #include <mach/iomux-mx3.h> | 38 | #include <mach/iomux-mx3.h> |
40 | #include "devices.h" | 39 | #include "devices.h" |
@@ -116,7 +115,7 @@ static struct physmap_flash_data qong_flash_data = { | |||
116 | 115 | ||
117 | static struct resource qong_flash_resource = { | 116 | static struct resource qong_flash_resource = { |
118 | .start = MX31_CS0_BASE_ADDR, | 117 | .start = MX31_CS0_BASE_ADDR, |
119 | .end = MX31_CS0_BASE_ADDR + QONG_NOR_SIZE - 1, | 118 | .end = MX31_CS0_BASE_ADDR + SZ_128M - 1, |
120 | .flags = IORESOURCE_MEM, | 119 | .flags = IORESOURCE_MEM, |
121 | }; | 120 | }; |
122 | 121 | ||
diff --git a/arch/arm/plat-mxc/include/mach/board-qong.h b/arch/arm/plat-mxc/include/mach/board-qong.h deleted file mode 100644 index 6d88c7af4b23..000000000000 --- a/arch/arm/plat-mxc/include/mach/board-qong.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright 2009 Ilya Yanok, Emcraft Systems Ltd, <yanok@emcraft.com> | ||
3 | */ | ||
4 | |||
5 | /* | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __ASM_ARCH_MXC_BOARD_QONG_H__ | ||
12 | #define __ASM_ARCH_MXC_BOARD_QONG_H__ | ||
13 | |||
14 | /* NOR FLASH */ | ||
15 | #define QONG_NOR_SIZE (128*1024*1024) | ||
16 | |||
17 | #endif /* __ASM_ARCH_MXC_BOARD_QONG_H__ */ | ||