uboot-omap: switch to u-boot.mk
[openwrt/staging/yousong.git] / package / boot / uboot-oxnas / files / arch / arm / include / asm / arch-nas782x / cpu.h
1 #ifndef _NAS782X_CPU_H
2 #define _NAS782X_CPU_H
3
4 #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
5 #include <asm/types.h>
6 #include <asm/io.h>
7 #endif /* !(__KERNEL_STRICT_NAMES || __ASSEMBLY__) */
8
9 #include <asm/arch/hardware.h>
10 #include <asm/arch/timer.h>
11
12 #ifndef __KERNEL_STRICT_NAMES
13 #ifndef __ASSEMBLY__
14
15 #define BIT(x) (1 << (x))
16
17 /* fix "implicit declaration of function" warnning */
18 void *memalign(size_t alignment, size_t bytes);
19 void free(void* mem);
20 void *malloc(size_t bytes);
21 void *calloc(size_t n, size_t elem_size);
22
23 #endif /* __ASSEMBLY__ */
24 #endif /* __KERNEL_STRICT_NAMES */
25
26 #endif /* _NAS782X_CPU_H */