OLD | NEW |
1 /* Blackfin One-Time Programmable Memory (OTP) model | 1 /* Blackfin One-Time Programmable Memory (OTP) model |
2 | 2 |
3 Copyright (C) 2010-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2010-2013 Free Software Foundation, Inc. |
4 Contributed by Analog Devices, Inc. | 4 Contributed by Analog Devices, Inc. |
5 | 5 |
6 This file is part of simulators. | 6 This file is part of simulators. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
11 (at your option) any later version. | 11 (at your option) any later version. |
12 | 12 |
13 This program is distributed in the hope that it will be useful, | 13 This program is distributed in the hope that it will be useful, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 /* OTP_CONTROL masks. */ | 85 /* OTP_CONTROL masks. */ |
86 #define PAGE_ADDR (0x1FF) | 86 #define PAGE_ADDR (0x1FF) |
87 #define DO_READ (1 << 14) | 87 #define DO_READ (1 << 14) |
88 #define DO_WRITE (1 << 15) | 88 #define DO_WRITE (1 << 15) |
89 | 89 |
90 /* OTP_STATUS masks. */ | 90 /* OTP_STATUS masks. */ |
91 #define STATUS_DONE (1 << 0) | 91 #define STATUS_DONE (1 << 0) |
92 #define STATUS_ERR (1 << 1) | 92 #define STATUS_ERR (1 << 1) |
93 | 93 |
94 #endif | 94 #endif |
OLD | NEW |