aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-10-13 02:45:21 -0400
committerBryan Wu <cooloney@kernel.org>2008-10-13 02:45:21 -0400
commitf4585a08479a730fb809606b8ee327a5398c117c (patch)
treebeca2187ebd86bae26321288ec8af33f02222c07 /arch/blackfin
parent1ffb9bef23d283e0e94c73e6683a6591ba3b0888 (diff)
Blackfin arch: only include asm/cplb.h when it is truly used
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/asm/cacheflush.h2
-rw-r--r--arch/blackfin/kernel/traps.c1
-rw-r--r--arch/blackfin/mach-bf527/boards/cm_bf527.c3
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c3
-rw-r--r--arch/blackfin/mach-bf548/boards/cm_bf548.c7
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c3
6 files changed, 7 insertions, 12 deletions
diff --git a/arch/blackfin/include/asm/cacheflush.h b/arch/blackfin/include/asm/cacheflush.h
index d81a77545a04..5ef9e35e9c3b 100644
--- a/arch/blackfin/include/asm/cacheflush.h
+++ b/arch/blackfin/include/asm/cacheflush.h
@@ -30,8 +30,6 @@
30#ifndef _BLACKFIN_CACHEFLUSH_H 30#ifndef _BLACKFIN_CACHEFLUSH_H
31#define _BLACKFIN_CACHEFLUSH_H 31#define _BLACKFIN_CACHEFLUSH_H
32 32
33#include <asm/cplb.h>
34
35extern void blackfin_icache_dcache_flush_range(unsigned int, unsigned int); 33extern void blackfin_icache_dcache_flush_range(unsigned int, unsigned int);
36extern void blackfin_icache_flush_range(unsigned int, unsigned int); 34extern void blackfin_icache_flush_range(unsigned int, unsigned int);
37extern void blackfin_dcache_flush_range(unsigned int, unsigned int); 35extern void blackfin_dcache_flush_range(unsigned int, unsigned int);
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c
index 9a9d5083acfd..fd24e04fc19e 100644
--- a/arch/blackfin/kernel/traps.c
+++ b/arch/blackfin/kernel/traps.c
@@ -34,6 +34,7 @@
34#include <linux/fs.h> 34#include <linux/fs.h>
35#include <asm/traps.h> 35#include <asm/traps.h>
36#include <asm/cacheflush.h> 36#include <asm/cacheflush.h>
37#include <asm/cplb.h>
37#include <asm/blackfin.h> 38#include <asm/blackfin.h>
38#include <asm/irq_handler.h> 39#include <asm/irq_handler.h>
39#include <linux/irq.h> 40#include <linux/irq.h>
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c
index 986483fb69fa..9ea440bbb13d 100644
--- a/arch/blackfin/mach-bf527/boards/cm_bf527.c
+++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c
@@ -44,7 +44,6 @@
44#include <linux/interrupt.h> 44#include <linux/interrupt.h>
45#include <linux/usb/sl811.h> 45#include <linux/usb/sl811.h>
46#include <linux/usb/musb.h> 46#include <linux/usb/musb.h>
47#include <asm/cplb.h>
48#include <asm/dma.h> 47#include <asm/dma.h>
49#include <asm/bfin5xx_spi.h> 48#include <asm/bfin5xx_spi.h>
50#include <asm/reboot.h> 49#include <asm/reboot.h>
@@ -209,7 +208,7 @@ static struct mtd_partition partition_info[] = {
209 { 208 {
210 .name = "linux kernel(nand)", 209 .name = "linux kernel(nand)",
211 .offset = 0, 210 .offset = 0,
212 .size = 4 * SIZE_1M, 211 .size = 4 * 1024 * 1024,
213 }, 212 },
214 { 213 {
215 .name = "file system(nand)", 214 .name = "file system(nand)",
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index a756934482cf..04a8d6da9055 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -43,7 +43,6 @@
43#include <linux/interrupt.h> 43#include <linux/interrupt.h>
44#include <linux/usb/sl811.h> 44#include <linux/usb/sl811.h>
45#include <linux/usb/musb.h> 45#include <linux/usb/musb.h>
46#include <asm/cplb.h>
47#include <asm/dma.h> 46#include <asm/dma.h>
48#include <asm/bfin5xx_spi.h> 47#include <asm/bfin5xx_spi.h>
49#include <asm/reboot.h> 48#include <asm/reboot.h>
@@ -226,7 +225,7 @@ static struct mtd_partition partition_info[] = {
226 { 225 {
227 .name = "linux kernel(nand)", 226 .name = "linux kernel(nand)",
228 .offset = 0, 227 .offset = 0,
229 .size = 4 * SIZE_1M, 228 .size = 4 * 1024 * 1024,
230 }, 229 },
231 { 230 {
232 .name = "file system(nand)", 231 .name = "file system(nand)",
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index 36f56f9ffd05..c5609ff805f8 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -38,7 +38,6 @@
38#include <linux/interrupt.h> 38#include <linux/interrupt.h>
39#include <linux/usb/musb.h> 39#include <linux/usb/musb.h>
40#include <asm/bfin5xx_spi.h> 40#include <asm/bfin5xx_spi.h>
41#include <asm/cplb.h>
42#include <asm/dma.h> 41#include <asm/dma.h>
43#include <asm/gpio.h> 42#include <asm/gpio.h>
44#include <asm/nand.h> 43#include <asm/nand.h>
@@ -329,12 +328,12 @@ static struct mtd_partition partition_info[] = {
329 { 328 {
330 .name = "linux kernel(nand)", 329 .name = "linux kernel(nand)",
331 .offset = 0, 330 .offset = 0,
332 .size = 4 * SIZE_1M, 331 .size = 4 * 1024 * 1024,
333 }, 332 },
334 { 333 {
335 .name = "file system(nand)", 334 .name = "file system(nand)",
336 .offset = 4 * SIZE_1M, 335 .offset = 4 * 1024 * 1024,
337 .size = (256 - 4) * SIZE_1M, 336 .size = (256 - 4) * 1024 * 1024,
338 }, 337 },
339}; 338};
340 339
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index 628f21889e22..397ddf6b8106 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -40,7 +40,6 @@
40#include <linux/interrupt.h> 40#include <linux/interrupt.h>
41#include <linux/usb/musb.h> 41#include <linux/usb/musb.h>
42#include <asm/bfin5xx_spi.h> 42#include <asm/bfin5xx_spi.h>
43#include <asm/cplb.h>
44#include <asm/dma.h> 43#include <asm/dma.h>
45#include <asm/gpio.h> 44#include <asm/gpio.h>
46#include <asm/nand.h> 45#include <asm/nand.h>
@@ -375,7 +374,7 @@ static struct mtd_partition partition_info[] = {
375 { 374 {
376 .name = "linux kernel(nand)", 375 .name = "linux kernel(nand)",
377 .offset = 0, 376 .offset = 0,
378 .size = 4 * SIZE_1M, 377 .size = 4 * 1024 * 1024,
379 }, 378 },
380 { 379 {
381 .name = "file system(nand)", 380 .name = "file system(nand)",