omap-secure.h 450 B

1234567891011121314151617181920
  1. #ifndef __OMAP_SECURE_H__
  2. #define __OMAP_SECURE_H__
  3. #include <linux/types.h>
  4. #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
  5. extern int omap_secure_ram_reserve_memblock(void);
  6. #else
  7. static inline void omap_secure_ram_reserve_memblock(void)
  8. { }
  9. #endif
  10. #ifdef CONFIG_OMAP4_ERRATA_I688
  11. extern int omap_barrier_reserve_memblock(void);
  12. #else
  13. static inline void omap_barrier_reserve_memblock(void)
  14. { }
  15. #endif
  16. #endif /* __OMAP_SECURE_H__ */