From: Uwe Kleine-König Date: Mon, 8 Mar 2010 15:11:51 +0000 (+0100) Subject: ARM: mx3/qong: get rid of nearly empty header X-Git-Tag: v2.6.36-rc1~591^2^2~1^2~26^2~49 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d57351a30fb02a345b9328adb73250310425421c;p=karo-tx-linux.git 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 --- 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 @@ #include #include #include -#include #include #include #include "devices.h" @@ -116,7 +115,7 @@ static struct physmap_flash_data qong_flash_data = { static struct resource qong_flash_resource = { .start = MX31_CS0_BASE_ADDR, - .end = MX31_CS0_BASE_ADDR + QONG_NOR_SIZE - 1, + .end = MX31_CS0_BASE_ADDR + SZ_128M - 1, .flags = IORESOURCE_MEM, }; 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 @@ -/* - * Copyright 2009 Ilya Yanok, Emcraft Systems Ltd, - */ - -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef __ASM_ARCH_MXC_BOARD_QONG_H__ -#define __ASM_ARCH_MXC_BOARD_QONG_H__ - -/* NOR FLASH */ -#define QONG_NOR_SIZE (128*1024*1024) - -#endif /* __ASM_ARCH_MXC_BOARD_QONG_H__ */