aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/octeon/octeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/octeon/octeon.h')
-rw-r--r--arch/mips/include/asm/octeon/octeon.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/arch/mips/include/asm/octeon/octeon.h b/arch/mips/include/asm/octeon/octeon.h
index 254e9954ed7..f72f768cd3a 100644
--- a/arch/mips/include/asm/octeon/octeon.h
+++ b/arch/mips/include/asm/octeon/octeon.h
@@ -8,7 +8,7 @@
8#ifndef __ASM_OCTEON_OCTEON_H 8#ifndef __ASM_OCTEON_OCTEON_H
9#define __ASM_OCTEON_OCTEON_H 9#define __ASM_OCTEON_OCTEON_H
10 10
11#include <asm/octeon/cvmx.h> 11#include "cvmx.h"
12 12
13extern uint64_t octeon_bootmem_alloc_range_phys(uint64_t size, 13extern uint64_t octeon_bootmem_alloc_range_phys(uint64_t size,
14 uint64_t alignment, 14 uint64_t alignment,
@@ -52,7 +52,6 @@ extern asmlinkage void octeon_cop2_restore(struct octeon_cop2_state *task);
52 52
53extern void octeon_init_cvmcount(void); 53extern void octeon_init_cvmcount(void);
54extern void octeon_setup_delays(void); 54extern void octeon_setup_delays(void);
55extern void octeon_io_clk_delay(unsigned long);
56 55
57#define OCTEON_ARGV_MAX_ARGS 64 56#define OCTEON_ARGV_MAX_ARGS 64
58#define OCTOEN_SERIAL_LEN 20 57#define OCTOEN_SERIAL_LEN 20
@@ -209,6 +208,18 @@ union octeon_cvmemctl {
209 } s; 208 } s;
210}; 209};
211 210
211struct octeon_cf_data {
212 unsigned long base_region_bias;
213 unsigned int base_region; /* The chip select region used by CF */
214 int is16bit; /* 0 - 8bit, !0 - 16bit */
215 int dma_engine; /* -1 for no DMA */
216};
217
218struct octeon_i2c_data {
219 unsigned int sys_freq;
220 unsigned int i2c_freq;
221};
222
212extern void octeon_write_lcd(const char *s); 223extern void octeon_write_lcd(const char *s);
213extern void octeon_check_cpu_bist(void); 224extern void octeon_check_cpu_bist(void);
214extern int octeon_get_boot_debug_flag(void); 225extern int octeon_get_boot_debug_flag(void);
@@ -248,7 +259,4 @@ extern uint64_t octeon_bootloader_entry_addr;
248 259
249extern void (*octeon_irq_setup_secondary)(void); 260extern void (*octeon_irq_setup_secondary)(void);
250 261
251typedef void (*octeon_irq_ip4_handler_t)(void);
252void octeon_irq_set_ip4_handler(octeon_irq_ip4_handler_t);
253
254#endif /* __ASM_OCTEON_OCTEON_H */ 262#endif /* __ASM_OCTEON_OCTEON_H */