aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/ddb5xxx/ddb5xxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/ddb5xxx/ddb5xxx.h')
-rw-r--r--include/asm-mips/ddb5xxx/ddb5xxx.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/asm-mips/ddb5xxx/ddb5xxx.h b/include/asm-mips/ddb5xxx/ddb5xxx.h
index 873c03f2c5fe..e97fcc8d548b 100644
--- a/include/asm-mips/ddb5xxx/ddb5xxx.h
+++ b/include/asm-mips/ddb5xxx/ddb5xxx.h
@@ -18,7 +18,6 @@
18#ifndef __ASM_DDB5XXX_DDB5XXX_H 18#ifndef __ASM_DDB5XXX_DDB5XXX_H
19#define __ASM_DDB5XXX_DDB5XXX_H 19#define __ASM_DDB5XXX_DDB5XXX_H
20 20
21#include <linux/config.h>
22#include <linux/types.h> 21#include <linux/types.h>
23 22
24/* 23/*
@@ -174,13 +173,8 @@
174 173
175static inline void ddb_sync(void) 174static inline void ddb_sync(void)
176{ 175{
177/* The DDB5074 doesn't seem to like these accesses. They kill the board on
178 * interrupt load
179 */
180#ifndef CONFIG_DDB5074
181 volatile u32 *p = (volatile u32 *)0xbfc00000; 176 volatile u32 *p = (volatile u32 *)0xbfc00000;
182 (void)(*p); 177 (void)(*p);
183#endif
184} 178}
185 179
186static inline void ddb_out32(u32 offset, u32 val) 180static inline void ddb_out32(u32 offset, u32 val)
@@ -260,11 +254,7 @@ extern void ddb_pci_reset_bus(void);
260/* 254/*
261 * include the board dependent part 255 * include the board dependent part
262 */ 256 */
263#if defined(CONFIG_DDB5074) 257#if defined(CONFIG_DDB5477)
264#include <asm/ddb5xxx/ddb5074.h>
265#elif defined(CONFIG_DDB5476)
266#include <asm/ddb5xxx/ddb5476.h>
267#elif defined(CONFIG_DDB5477)
268#include <asm/ddb5xxx/ddb5477.h> 258#include <asm/ddb5xxx/ddb5477.h>
269#else 259#else
270#error "Unknown DDB board!" 260#error "Unknown DDB board!"