summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/coldfire/mcf548x/mcf548x_sec.h
blob: f4a65320c478d3be2c77e9db54bf29006a5c062b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
/*
 * Copyright (c) 2008 Carsten Schlote <c.schlote@konzeptpark.de>
 * See file CREDITS for list of people who contributed to this project.
 *
 * This file is part of U-Boot V2.
 *
 * U-Boot V2 is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * U-Boot V2 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with U-Boot V2.  If not, see <http://www.gnu.org/licenses/>.
 */

/** @file
 *  Register and bit definitions for the MCF548X and MCF547x
 *  Integrated Security Engine (SEC)
 */
#ifndef __MCF548X_SEC_H__
#define __MCF548X_SEC_H__

/*
 *  Integrated Security Engine (SEC)
 */

/* Register read/write macros */
#define MCF_SEC_EUACRH     (*(vuint32_t*)(&__MBAR[0x021000]))
#define MCF_SEC_EUACRL     (*(vuint32_t*)(&__MBAR[0x021004]))
#define MCF_SEC_EUASRH     (*(vuint32_t*)(&__MBAR[0x021028]))
#define MCF_SEC_EUASRL     (*(vuint32_t*)(&__MBAR[0x02102C]))
#define MCF_SEC_SIMRH      (*(vuint32_t*)(&__MBAR[0x021008]))
#define MCF_SEC_SIMRL      (*(vuint32_t*)(&__MBAR[0x02100C]))
#define MCF_SEC_SISRH      (*(vuint32_t*)(&__MBAR[0x021010]))
#define MCF_SEC_SISRL      (*(vuint32_t*)(&__MBAR[0x021014]))
#define MCF_SEC_SICRH      (*(vuint32_t*)(&__MBAR[0x021018]))
#define MCF_SEC_SICRL      (*(vuint32_t*)(&__MBAR[0x02101C]))
#define MCF_SEC_SIDR       (*(vuint32_t*)(&__MBAR[0x021020]))
#define MCF_SEC_SMCR       (*(vuint32_t*)(&__MBAR[0x021030]))
#define MCF_SEC_MEAR       (*(vuint32_t*)(&__MBAR[0x021038]))
#define MCF_SEC_CCCR0      (*(vuint32_t*)(&__MBAR[0x02200C]))
#define MCF_SEC_CCCR1      (*(vuint32_t*)(&__MBAR[0x02300C]))
#define MCF_SEC_CCPSRH0    (*(vuint32_t*)(&__MBAR[0x022010]))
#define MCF_SEC_CCPSRH1    (*(vuint32_t*)(&__MBAR[0x023010]))
#define MCF_SEC_CCPSRL0    (*(vuint32_t*)(&__MBAR[0x022014]))
#define MCF_SEC_CCPSRL1    (*(vuint32_t*)(&__MBAR[0x023014]))
#define MCF_SEC_CDPR0      (*(vuint32_t*)(&__MBAR[0x022044]))
#define MCF_SEC_CDPR1      (*(vuint32_t*)(&__MBAR[0x023044]))
#define MCF_SEC_FR0        (*(vuint32_t*)(&__MBAR[0x02204C]))
#define MCF_SEC_FR1        (*(vuint32_t*)(&__MBAR[0x02304C]))
#define MCF_SEC_AFRCR      (*(vuint32_t*)(&__MBAR[0x028018]))
#define MCF_SEC_AFSR       (*(vuint32_t*)(&__MBAR[0x028028]))
#define MCF_SEC_AFISR      (*(vuint32_t*)(&__MBAR[0x028030]))
#define MCF_SEC_AFIMR      (*(vuint32_t*)(&__MBAR[0x028038]))
#define MCF_SEC_DRCR       (*(vuint32_t*)(&__MBAR[0x02A018]))
#define MCF_SEC_DSR        (*(vuint32_t*)(&__MBAR[0x02A028]))
#define MCF_SEC_DISR       (*(vuint32_t*)(&__MBAR[0x02A030]))
#define MCF_SEC_DIMR       (*(vuint32_t*)(&__MBAR[0x02A038]))
#define MCF_SEC_MDRCR      (*(vuint32_t*)(&__MBAR[0x02C018]))
#define MCF_SEC_MDSR       (*(vuint32_t*)(&__MBAR[0x02C028]))
#define MCF_SEC_MDISR      (*(vuint32_t*)(&__MBAR[0x02C030]))
#define MCF_SEC_MDIMR      (*(vuint32_t*)(&__MBAR[0x02C038]))
#define MCF_SEC_RNGRCR     (*(vuint32_t*)(&__MBAR[0x02E018]))
#define MCF_SEC_RNGSR      (*(vuint32_t*)(&__MBAR[0x02E028]))
#define MCF_SEC_RNGISR     (*(vuint32_t*)(&__MBAR[0x02E030]))
#define MCF_SEC_RNGIMR     (*(vuint32_t*)(&__MBAR[0x02E038]))
#define MCF_SEC_AESRCR     (*(vuint32_t*)(&__MBAR[0x032018]))
#define MCF_SEC_AESSR      (*(vuint32_t*)(&__MBAR[0x032028]))
#define MCF_SEC_AESISR     (*(vuint32_t*)(&__MBAR[0x032030]))
#define MCF_SEC_AESIMR     (*(vuint32_t*)(&__MBAR[0x032038]))

/* Bit definitions and macros for MCF_SEC_EUACRH */
#define MCF_SEC_EUACRH_AFEU(x)          (((x)&0x0000000F)<<0)
#define MCF_SEC_EUACRH_MDEU(x)          (((x)&0x0000000F)<<8)
#define MCF_SEC_EUACRH_RNG(x)           (((x)&0x0000000F)<<24)
#define MCF_SEC_EUACRH_RNG_NOASSIGN     (0x00000000)
#define MCF_SEC_EUACRH_RNG_CHA0         (0x01000000)
#define MCF_SEC_EUACRH_RNG_CHA1         (0x02000000)
#define MCF_SEC_EUACRH_MDEU_NOASSIGN    (0x00000000)
#define MCF_SEC_EUACRH_MDEU_CHA0        (0x00000100)
#define MCF_SEC_EUACRH_MDEU_CHA1        (0x00000200)
#define MCF_SEC_EUACRH_AFEU_NOASSIGN    (0x00000000)
#define MCF_SEC_EUACRH_AFEU_CHA0        (0x00000001)
#define MCF_SEC_EUACRH_AFEU_CHA1        (0x00000002)

/* Bit definitions and macros for MCF_SEC_EUACRL */
#define MCF_SEC_EUACRL_AESU(x)          (((x)&0x0000000F)<<16)
#define MCF_SEC_EUACRL_DEU(x)           (((x)&0x0000000F)<<24)
#define MCF_SEC_EUACRL_DEU_NOASSIGN     (0x00000000)
#define MCF_SEC_EUACRL_DEU_CHA0         (0x01000000)
#define MCF_SEC_EUACRL_DEU_CHA1         (0x02000000)
#define MCF_SEC_EUACRL_AESU_NOASSIGN    (0x00000000)
#define MCF_SEC_EUACRL_AESU_CHA0        (0x00010000)
#define MCF_SEC_EUACRL_AESU_CHA1        (0x00020000)

/* Bit definitions and macros for MCF_SEC_EUASRH */
#define MCF_SEC_EUASRH_AFEU(x)          (((x)&0x0000000F)<<0)
#define MCF_SEC_EUASRH_MDEU(x)          (((x)&0x0000000F)<<8)
#define MCF_SEC_EUASRH_RNG(x)           (((x)&0x0000000F)<<24)

/* Bit definitions and macros for MCF_SEC_EUASRL */
#define MCF_SEC_EUASRL_AESU(x)          (((x)&0x0000000F)<<16)
#define MCF_SEC_EUASRL_DEU(x)           (((x)&0x0000000F)<<24)

/* Bit definitions and macros for MCF_SEC_SIMRH */
#define MCF_SEC_SIMRH_AERR              (0x08000000)
#define MCF_SEC_SIMRH_CHA0DN            (0x10000000)
#define MCF_SEC_SIMRH_CHA0ERR           (0x20000000)
#define MCF_SEC_SIMRH_CHA1DN            (0x40000000)
#define MCF_SEC_SIMRH_CHA1ERR           (0x80000000)

/* Bit definitions and macros for MCF_SEC_SIMRL */
#define MCF_SEC_SIMRL_TEA               (0x00000040)
#define MCF_SEC_SIMRL_DEUDN             (0x00000100)
#define MCF_SEC_SIMRL_DEUERR            (0x00000200)
#define MCF_SEC_SIMRL_AESUDN            (0x00001000)
#define MCF_SEC_SIMRL_AESUERR           (0x00002000)
#define MCF_SEC_SIMRL_MDEUDN            (0x00010000)
#define MCF_SEC_SIMRL_MDEUERR           (0x00020000)
#define MCF_SEC_SIMRL_AFEUDN            (0x00100000)
#define MCF_SEC_SIMRL_AFEUERR           (0x00200000)
#define MCF_SEC_SIMRL_RNGDN             (0x01000000)
#define MCF_SEC_SIMRL_RNGERR            (0x02000000)

/* Bit definitions and macros for MCF_SEC_SISRH */
#define MCF_SEC_SISRH_AERR              (0x08000000)
#define MCF_SEC_SISRH_CHA0DN            (0x10000000)
#define MCF_SEC_SISRH_CHA0ERR           (0x20000000)
#define MCF_SEC_SISRH_CHA1DN            (0x40000000)
#define MCF_SEC_SISRH_CHA1ERR           (0x80000000)

/* Bit definitions and macros for MCF_SEC_SISRL */
#define MCF_SEC_SISRL_TEA               (0x00000040)
#define MCF_SEC_SISRL_DEUDN             (0x00000100)
#define MCF_SEC_SISRL_DEUERR            (0x00000200)
#define MCF_SEC_SISRL_AESUDN            (0x00001000)
#define MCF_SEC_SISRL_AESUERR           (0x00002000)
#define MCF_SEC_SISRL_MDEUDN            (0x00010000)
#define MCF_SEC_SISRL_MDEUERR           (0x00020000)
#define MCF_SEC_SISRL_AFEUDN            (0x00100000)
#define MCF_SEC_SISRL_AFEUERR           (0x00200000)
#define MCF_SEC_SISRL_RNGDN             (0x01000000)
#define MCF_SEC_SISRL_RNGERR            (0x02000000)

/* Bit definitions and macros for MCF_SEC_SICRH */
#define MCF_SEC_SICRH_AERR              (0x08000000)
#define MCF_SEC_SICRH_CHA0DN            (0x10000000)
#define MCF_SEC_SICRH_CHA0ERR           (0x20000000)
#define MCF_SEC_SICRH_CHA1DN            (0x40000000)
#define MCF_SEC_SICRH_CHA1ERR           (0x80000000)

/* Bit definitions and macros for MCF_SEC_SICRL */
#define MCF_SEC_SICRL_TEA               (0x00000040)
#define MCF_SEC_SICRL_DEUDN             (0x00000100)
#define MCF_SEC_SICRL_DEUERR            (0x00000200)
#define MCF_SEC_SICRL_AESUDN            (0x00001000)
#define MCF_SEC_SICRL_AESUERR           (0x00002000)
#define MCF_SEC_SICRL_MDEUDN            (0x00010000)
#define MCF_SEC_SICRL_MDEUERR           (0x00020000)
#define MCF_SEC_SICRL_AFEUDN            (0x00100000)
#define MCF_SEC_SICRL_AFEUERR           (0x00200000)
#define MCF_SEC_SICRL_RNGDN             (0x01000000)
#define MCF_SEC_SICRL_RNGERR            (0x02000000)

/* Bit definitions and macros for MCF_SEC_SMCR */
#define MCF_SEC_SMCR_CURR_CHAN(x)       (((x)&0x0000000F)<<4)
#define MCF_SEC_SMCR_SWR                (0x01000000)
#define MCF_SEC_SMCR_CURR_CHAN_1        (0x00000010)
#define MCF_SEC_SMCR_CURR_CHAN_2        (0x00000020)

/* Bit definitions and macros for MCF_SEC_CCCRn */
#define MCF_SEC_CCCRn_RST               (0x00000001)
#define MCF_SEC_CCCRn_CDIE              (0x00000002)
#define MCF_SEC_CCCRn_NT                (0x00000004)
#define MCF_SEC_CCCRn_NE                (0x00000008)
#define MCF_SEC_CCCRn_WE                (0x00000010)
#define MCF_SEC_CCCRn_BURST_SIZE(x)     (((x)&0x00000007)<<8)
#define MCF_SEC_CCCRn_BURST_SIZE_2      (0x00000000)
#define MCF_SEC_CCCRn_BURST_SIZE_8      (0x00000100)
#define MCF_SEC_CCCRn_BURST_SIZE_16     (0x00000200)
#define MCF_SEC_CCCRn_BURST_SIZE_24     (0x00000300)
#define MCF_SEC_CCCRn_BURST_SIZE_32     (0x00000400)
#define MCF_SEC_CCCRn_BURST_SIZE_40     (0x00000500)
#define MCF_SEC_CCCRn_BURST_SIZE_48     (0x00000600)
#define MCF_SEC_CCCRn_BURST_SIZE_56     (0x00000700)

/* Bit definitions and macros for MCF_SEC_CCPSRHn */
#define MCF_SEC_CCPSRHn_STATE(x)        (((x)&0x000000FF)<<0)

/* Bit definitions and macros for MCF_SEC_CCPSRLn */
#define MCF_SEC_CCPSRLn_PAIR_PTR(x)     (((x)&0x000000FF)<<0)
#define MCF_SEC_CCPSRLn_EUERR           (0x00000100)
#define MCF_SEC_CCPSRLn_SERR            (0x00000200)
#define MCF_SEC_CCPSRLn_DERR            (0x00000400)
#define MCF_SEC_CCPSRLn_PERR            (0x00001000)
#define MCF_SEC_CCPSRLn_TEA             (0x00002000)
#define MCF_SEC_CCPSRLn_SD              (0x00010000)
#define MCF_SEC_CCPSRLn_PD              (0x00020000)
#define MCF_SEC_CCPSRLn_SRD             (0x00040000)
#define MCF_SEC_CCPSRLn_PRD             (0x00080000)
#define MCF_SEC_CCPSRLn_SG              (0x00100000)
#define MCF_SEC_CCPSRLn_PG              (0x00200000)
#define MCF_SEC_CCPSRLn_SR              (0x00400000)
#define MCF_SEC_CCPSRLn_PR              (0x00800000)
#define MCF_SEC_CCPSRLn_MO              (0x01000000)
#define MCF_SEC_CCPSRLn_MI              (0x02000000)
#define MCF_SEC_CCPSRLn_STAT            (0x04000000)

/* Bit definitions and macros for MCF_SEC_AFRCR */
#define MCF_SEC_AFRCR_SR                (0x01000000)
#define MCF_SEC_AFRCR_MI                (0x02000000)
#define MCF_SEC_AFRCR_RI                (0x04000000)

/* Bit definitions and macros for MCF_SEC_AFSR */
#define MCF_SEC_AFSR_RD                 (0x01000000)
#define MCF_SEC_AFSR_ID                 (0x02000000)
#define MCF_SEC_AFSR_IE                 (0x04000000)
#define MCF_SEC_AFSR_OFE                (0x08000000)
#define MCF_SEC_AFSR_IFW                (0x10000000)
#define MCF_SEC_AFSR_HALT               (0x20000000)

/* Bit definitions and macros for MCF_SEC_AFISR */
#define MCF_SEC_AFISR_DSE               (0x00010000)
#define MCF_SEC_AFISR_KSE               (0x00020000)
#define MCF_SEC_AFISR_CE                (0x00040000)
#define MCF_SEC_AFISR_ERE               (0x00080000)
#define MCF_SEC_AFISR_IE                (0x00100000)
#define MCF_SEC_AFISR_OFU               (0x02000000)
#define MCF_SEC_AFISR_IFO               (0x04000000)
#define MCF_SEC_AFISR_IFE               (0x10000000)
#define MCF_SEC_AFISR_OFE               (0x20000000)
#define MCF_SEC_AFISR_AE                (0x40000000)
#define MCF_SEC_AFISR_ME                (0x80000000)

/* Bit definitions and macros for MCF_SEC_AFIMR */
#define MCF_SEC_AFIMR_DSE               (0x00010000)
#define MCF_SEC_AFIMR_KSE               (0x00020000)
#define MCF_SEC_AFIMR_CE                (0x00040000)
#define MCF_SEC_AFIMR_ERE               (0x00080000)
#define MCF_SEC_AFIMR_IE                (0x00100000)
#define MCF_SEC_AFIMR_OFU               (0x02000000)
#define MCF_SEC_AFIMR_IFO               (0x04000000)
#define MCF_SEC_AFIMR_IFE               (0x10000000)
#define MCF_SEC_AFIMR_OFE               (0x20000000)
#define MCF_SEC_AFIMR_AE                (0x40000000)
#define MCF_SEC_AFIMR_ME                (0x80000000)

/* Bit definitions and macros for MCF_SEC_DRCR */
#define MCF_SEC_DRCR_SR                 (0x01000000)
#define MCF_SEC_DRCR_MI                 (0x02000000)
#define MCF_SEC_DRCR_RI                 (0x04000000)

/* Bit definitions and macros for MCF_SEC_DSR */
#define MCF_SEC_DSR_RD                  (0x01000000)
#define MCF_SEC_DSR_ID                  (0x02000000)
#define MCF_SEC_DSR_IE                  (0x04000000)
#define MCF_SEC_DSR_OFR                 (0x08000000)
#define MCF_SEC_DSR_IFW                 (0x10000000)
#define MCF_SEC_DSR_HALT                (0x20000000)

/* Bit definitions and macros for MCF_SEC_DISR */
#define MCF_SEC_DISR_DSE                (0x00010000)
#define MCF_SEC_DISR_KSE                (0x00020000)
#define MCF_SEC_DISR_CE                 (0x00040000)
#define MCF_SEC_DISR_ERE                (0x00080000)
#define MCF_SEC_DISR_IE                 (0x00100000)
#define MCF_SEC_DISR_KPE                (0x00200000)
#define MCF_SEC_DISR_OFU                (0x02000000)
#define MCF_SEC_DISR_IFO                (0x04000000)
#define MCF_SEC_DISR_IFE                (0x10000000)
#define MCF_SEC_DISR_OFE                (0x20000000)
#define MCF_SEC_DISR_AE                 (0x40000000)
#define MCF_SEC_DISR_ME                 (0x80000000)

/* Bit definitions and macros for MCF_SEC_DIMR */
#define MCF_SEC_DIMR_DSE                (0x00010000)
#define MCF_SEC_DIMR_KSE                (0x00020000)
#define MCF_SEC_DIMR_CE                 (0x00040000)
#define MCF_SEC_DIMR_ERE                (0x00080000)
#define MCF_SEC_DIMR_IE                 (0x00100000)
#define MCF_SEC_DIMR_KPE                (0x00200000)
#define MCF_SEC_DIMR_OFU                (0x02000000)
#define MCF_SEC_DIMR_IFO                (0x04000000)
#define MCF_SEC_DIMR_IFE                (0x10000000)
#define MCF_SEC_DIMR_OFE                (0x20000000)
#define MCF_SEC_DIMR_AE                 (0x40000000)
#define MCF_SEC_DIMR_ME                 (0x80000000)

/* Bit definitions and macros for MCF_SEC_MDRCR */
#define MCF_SEC_MDRCR_SR                (0x01000000)
#define MCF_SEC_MDRCR_MI                (0x02000000)
#define MCF_SEC_MDRCR_RI                (0x04000000)

/* Bit definitions and macros for MCF_SEC_MDSR */
#define MCF_SEC_MDSR_RD                 (0x01000000)
#define MCF_SEC_MDSR_ID                 (0x02000000)
#define MCF_SEC_MDSR_IE                 (0x04000000)
#define MCF_SEC_MDSR_IFW                (0x10000000)
#define MCF_SEC_MDSR_HALT               (0x20000000)

/* Bit definitions and macros for MCF_SEC_MDISR */
#define MCF_SEC_MDISR_DSE               (0x00010000)
#define MCF_SEC_MDISR_KSE               (0x00020000)
#define MCF_SEC_MDISR_CE                (0x00040000)
#define MCF_SEC_MDISR_ERE               (0x00080000)
#define MCF_SEC_MDISR_IE                (0x00100000)
#define MCF_SEC_MDISR_IFO               (0x04000000)
#define MCF_SEC_MDISR_AE                (0x40000000)
#define MCF_SEC_MDISR_ME                (0x80000000)

/* Bit definitions and macros for MCF_SEC_MDIMR */
#define MCF_SEC_MDIMR_DSE               (0x00010000)
#define MCF_SEC_MDIMR_KSE               (0x00020000)
#define MCF_SEC_MDIMR_CE                (0x00040000)
#define MCF_SEC_MDIMR_ERE               (0x00080000)
#define MCF_SEC_MDIMR_IE                (0x00100000)
#define MCF_SEC_MDIMR_IFO               (0x04000000)
#define MCF_SEC_MDIMR_AE                (0x40000000)
#define MCF_SEC_MDIMR_ME                (0x80000000)

/* Bit definitions and macros for MCF_SEC_RNGRCR */
#define MCF_SEC_RNGRCR_SR               (0x01000000)
#define MCF_SEC_RNGRCR_MI               (0x02000000)
#define MCF_SEC_RNGRCR_RI               (0x04000000)

/* Bit definitions and macros for MCF_SEC_RNGSR */
#define MCF_SEC_RNGSR_RD                (0x01000000)
#define MCF_SEC_RNGSR_O                 (0x02000000)
#define MCF_SEC_RNGSR_IE                (0x04000000)
#define MCF_SEC_RNGSR_OFR               (0x08000000)
#define MCF_SEC_RNGSR_HALT              (0x20000000)

/* Bit definitions and macros for MCF_SEC_RNGISR */
#define MCF_SEC_RNGISR_IE               (0x00100000)
#define MCF_SEC_RNGISR_OFU              (0x02000000)
#define MCF_SEC_RNGISR_AE               (0x40000000)
#define MCF_SEC_RNGISR_ME               (0x80000000)

/* Bit definitions and macros for MCF_SEC_RNGIMR */
#define MCF_SEC_RNGIMR_IE               (0x00100000)
#define MCF_SEC_RNGIMR_OFU              (0x02000000)
#define MCF_SEC_RNGIMR_AE               (0x40000000)
#define MCF_SEC_RNGIMR_ME               (0x80000000)

/* Bit definitions and macros for MCF_SEC_AESRCR */
#define MCF_SEC_AESRCR_SR               (0x01000000)
#define MCF_SEC_AESRCR_MI               (0x02000000)
#define MCF_SEC_AESRCR_RI               (0x04000000)

/* Bit definitions and macros for MCF_SEC_AESSR */
#define MCF_SEC_AESSR_RD                (0x01000000)
#define MCF_SEC_AESSR_ID                (0x02000000)
#define MCF_SEC_AESSR_IE                (0x04000000)
#define MCF_SEC_AESSR_OFR               (0x08000000)
#define MCF_SEC_AESSR_IFW               (0x10000000)
#define MCF_SEC_AESSR_HALT              (0x20000000)

/* Bit definitions and macros for MCF_SEC_AESISR */
#define MCF_SEC_AESISR_DSE              (0x00010000)
#define MCF_SEC_AESISR_KSE              (0x00020000)
#define MCF_SEC_AESISR_CE               (0x00040000)
#define MCF_SEC_AESISR_ERE              (0x00080000)
#define MCF_SEC_AESISR_IE               (0x00100000)
#define MCF_SEC_AESISR_OFU              (0x02000000)
#define MCF_SEC_AESISR_IFO              (0x04000000)
#define MCF_SEC_AESISR_IFE              (0x10000000)
#define MCF_SEC_AESISR_OFE              (0x20000000)
#define MCF_SEC_AESISR_AE               (0x40000000)
#define MCF_SEC_AESISR_ME               (0x80000000)

/* Bit definitions and macros for MCF_SEC_AESIMR */
#define MCF_SEC_AESIMR_DSE              (0x00010000)
#define MCF_SEC_AESIMR_KSE              (0x00020000)
#define MCF_SEC_AESIMR_CE               (0x00040000)
#define MCF_SEC_AESIMR_ERE              (0x00080000)
#define MCF_SEC_AESIMR_IE               (0x00100000)
#define MCF_SEC_AESIMR_OFU              (0x02000000)
#define MCF_SEC_AESIMR_IFO              (0x04000000)
#define MCF_SEC_AESIMR_IFE              (0x10000000)
#define MCF_SEC_AESIMR_OFE              (0x20000000)
#define MCF_SEC_AESIMR_AE               (0x40000000)
#define MCF_SEC_AESIMR_ME               (0x80000000)

#endif /* __MCF548X_SEC_H__ */