.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * MTD primitives for XIP support |
---|
3 | 4 | * |
---|
.. | .. |
---|
7 | 8 | * |
---|
8 | 9 | * This XIP support for MTD has been loosely inspired |
---|
9 | 10 | * by an earlier patch authored by David Woodhouse. |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License version 2 as |
---|
13 | | - * published by the Free Software Foundation. |
---|
14 | 11 | */ |
---|
15 | 12 | |
---|
16 | 13 | #ifndef __LINUX_MTD_XIP_H__ |
---|
.. | .. |
---|
31 | 28 | * those functions so they get relocated to ram. |
---|
32 | 29 | */ |
---|
33 | 30 | #ifdef CONFIG_XIP_KERNEL |
---|
34 | | -#define __xipram noinline __attribute__ ((__section__ (".xiptext"))) |
---|
| 31 | +#define __xipram noinline __section(".xiptext") |
---|
35 | 32 | #endif |
---|
36 | 33 | |
---|
37 | 34 | /* |
---|