Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * MTD primitives for XIP support. Architecture specific functions
0004  *
0005  * Do not include this file directly. It's included from linux/mtd/xip.h
0006  * 
0007  * Author:  Nicolas Pitre
0008  * Created: Nov 2, 2004
0009  * Copyright:   (C) 2004 MontaVista Software, Inc.
0010  */
0011 
0012 #ifndef __ARM_MTD_XIP_H__
0013 #define __ARM_MTD_XIP_H__
0014 
0015 #include <mach/mtd-xip.h>
0016 
0017 /* fill instruction prefetch */
0018 #define xip_iprefetch()     do { asm volatile (".rep 8; nop; .endr"); } while (0)
0019 
0020 #endif /* __ARM_MTD_XIP_H__ */