blob: 8c7994ce9869a98fc7b673d6ebfcc0b4d63187c0 [file] [log] [blame]
Santosh Shilimkar259ee572011-06-06 20:28:23 +05301#ifndef __OMAP_SECURE_H__
2#define __OMAP_SECURE_H__
3
4#include <linux/types.h>
5
Santosh Shilimkarfef67c52012-02-06 15:49:47 +05306#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
Santosh Shilimkar259ee572011-06-06 20:28:23 +05307extern int omap_secure_ram_reserve_memblock(void);
8#else
9static inline void omap_secure_ram_reserve_memblock(void)
10{ }
11#endif
12
Santosh Shilimkar2ec1fc42012-02-02 19:33:55 +053013#ifdef CONFIG_OMAP4_ERRATA_I688
14extern int omap_barrier_reserve_memblock(void);
15#else
16static inline void omap_barrier_reserve_memblock(void)
17{ }
18#endif
Santosh Shilimkar259ee572011-06-06 20:28:23 +053019#endif /* __OMAP_SECURE_H__ */