mtd-xip.h 520 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * MTD primitives for XIP support. Architecture specific functions
  4. *
  5. * Do not include this file directly. It's included from linux/mtd/xip.h
  6. *
  7. * Author: Nicolas Pitre
  8. * Created: Nov 2, 2004
  9. * Copyright: (C) 2004 MontaVista Software, Inc.
  10. */
  11. #ifndef __ARM_MTD_XIP_H__
  12. #define __ARM_MTD_XIP_H__
  13. #include <mach/mtd-xip.h>
  14. /* fill instruction prefetch */
  15. #define xip_iprefetch() do { asm volatile (".rep 8; nop; .endr"); } while (0)
  16. #endif /* __ARM_MTD_XIP_H__ */