xref: /linux/arch/arm/include/asm/mtd-xip.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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 
12 #ifndef __ARM_MTD_XIP_H__
13 #define __ARM_MTD_XIP_H__
14 
15 #include <mach/mtd-xip.h>
16 
17 /* fill instruction prefetch */
18 #define xip_iprefetch() 	do { asm volatile (".rep 8; nop; .endr"); } while (0)
19 
20 #endif /* __ARM_MTD_XIP_H__ */
21