[MTD] [OneNAND] Check the initial bad block using ONENAND_CTRL_ERROR
[linux-2.6/mini2440.git] / include / asm-m68knommu / machdep.h
blob1cf26d240d839922d97e2aceb8cbcc5618b477c7
1 #ifndef _M68KNOMMU_MACHDEP_H
2 #define _M68KNOMMU_MACHDEP_H
4 #include <linux/interrupt.h>
6 /* Hardware clock functions */
7 extern void hw_timer_init(void);
8 extern unsigned long hw_timer_offset(void);
10 extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
12 /* Machine dependent time handling */
13 extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
14 int *min, int *sec);
15 extern int (*mach_set_clock_mmss)(unsigned long);
17 /* machine dependent power off functions */
18 extern void (*mach_reset)( void );
19 extern void (*mach_halt)( void );
20 extern void (*mach_power_off)( void );
22 extern void config_BSP(char *command, int len);
24 #endif /* _M68KNOMMU_MACHDEP_H */