Santosh Shilimkar | 259ee57 | 2011-06-06 20:28:23 +0530 | [diff] [blame] | 1 | #ifndef __OMAP_SECURE_H__ |
| 2 | #define __OMAP_SECURE_H__ |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | |
Santosh Shilimkar | fef67c5 | 2012-02-06 15:49:47 +0530 | [diff] [blame] | 6 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4) |
Santosh Shilimkar | 259ee57 | 2011-06-06 20:28:23 +0530 | [diff] [blame] | 7 | extern int omap_secure_ram_reserve_memblock(void); |
| 8 | #else |
| 9 | static inline void omap_secure_ram_reserve_memblock(void) |
| 10 | { } |
| 11 | #endif |
| 12 | |
Santosh Shilimkar | 2ec1fc4 | 2012-02-02 19:33:55 +0530 | [diff] [blame^] | 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 |
Santosh Shilimkar | 259ee57 | 2011-06-06 20:28:23 +0530 | [diff] [blame] | 19 | #endif /* __OMAP_SECURE_H__ */ |