spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / plat-omap / include / plat / omap-secure.h
blob8c7994ce9869a98fc7b673d6ebfcc0b4d63187c0
1 #ifndef __OMAP_SECURE_H__
2 #define __OMAP_SECURE_H__
4 #include <linux/types.h>
6 #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
7 extern int omap_secure_ram_reserve_memblock(void);
8 #else
9 static inline void omap_secure_ram_reserve_memblock(void)
10 { }
11 #endif
13 #ifdef CONFIG_OMAP4_ERRATA_I688
14 extern int omap_barrier_reserve_memblock(void);
15 #else
16 static inline void omap_barrier_reserve_memblock(void)
17 { }
18 #endif
19 #endif /* __OMAP_SECURE_H__ */