Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
onny
uboot-i9100
Commits
c06f2b13
Commit
c06f2b13
authored
16 years ago
by
Mike Frysinger
Browse files
Options
Downloads
Patches
Plain Diff
Blackfin: update lockbox api according to latest documentation
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
2decc2a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/asm-blackfin/mach-common/bits/lockbox.h
+35
-35
35 additions, 35 deletions
include/asm-blackfin/mach-common/bits/lockbox.h
with
35 additions
and
35 deletions
include/asm-blackfin/mach-common/bits/lockbox.h
+
35
−
35
View file @
c06f2b13
...
@@ -11,52 +11,52 @@
...
@@ -11,52 +11,52 @@
/* SESR argument structure. Expected to reside at 0xFF900018. */
/* SESR argument structure. Expected to reside at 0xFF900018. */
typedef
struct
SESR_args
{
typedef
struct
SESR_args
{
unsigned
short
usFlags
;
/* security firmware flags
*/
unsigned
short
usFlags
;
/* security firmware flags
*/
unsigned
short
usIRQMask
;
/* interrupt mask
*/
unsigned
short
usIRQMask
;
/* interrupt mask
*/
unsigned
long
ulMessageSize
;
/* message length in bytes
*/
unsigned
long
ulMessageSize
;
/* message length in bytes
*/
unsigned
long
ulSFEntryPoint
;
/* entry point of secure function
*/
unsigned
long
ulSFEntryPoint
;
/* entry point of secure function
*/
unsigned
long
ulMessagePtr
;
/* pointer to the buffer containing
*/
unsigned
long
ulMessagePtr
;
/* pointer to the buffer containing
/*
the digital signature and message
*/
the digital signature and message
*/
unsigned
long
ulReserved1
;
/* reserved
*/
unsigned
long
ulReserved1
;
/* reserved
*/
unsigned
long
ulReserved2
;
/* reserved
*/
unsigned
long
ulReserved2
;
/* reserved
*/
}
tSESR_args
;
}
tSESR_args
;
/* Secure Entry Service Routine */
/* Secure Entry Service Routine */
void
(
*
const
sesr
)(
void
)
=
(
void
*
)
_BOOTROM_SESR
;
static
void
(
*
const
sesr
)(
void
)
=
(
void
*
)
_BOOTROM_SESR
;
#endif
#endif
/* SESR flags argument bitfields
*/
/* SESR flags argument bitfields */
#define SESR_FLAGS_STAY_AT_NMI
0x0000
#define SESR_FLAGS_STAY_AT_NMI
0x0000
#define SESR_FLAGS_DROP_BELOW_NMI
0x0001
#define SESR_FLAGS_DROP_BELOW_NMI
0x0001
#define SESR_FLAGS_NO_SF_DMA
0x0000
#define SESR_FLAGS_NO_SF_DMA
0x0000
#define SESR_FLAGS_DMA_SF_TO_RUN_DEST
0x0002
#define SESR_FLAGS_DMA_SF_TO_RUN_DEST
0x0002
#define SESR_FLAGS_USE_ADI_PUB_KEY
0x0000
#define SESR_FLAGS_USE_ADI_PUB_KEY
0x0000
#define SESR_FLAGS_USE_CUST_PUB_KEY
0x0100
#define SESR_FLAGS_USE_CUST_PUB_KEY
0x0100
/* Bit masks for SECURE_SYSSWT */
/* Bit masks for SECURE_SYSSWT */
#define EMUDABL
0x00000001
/* Emulation Disable */
#define EMUDABL
0x00000001
/* Emulation Disable */
#define RSTDABL
0x00000002
/* Reset Disable */
#define RSTDABL
0x00000002
/* Reset Disable */
#define L1IDABL
0x0000001c
/* L1 Instruction Memory Disable */
#define L1IDABL
0x0000001c
/* L1 Instruction Memory Disable */
#define L1DADABL
0x000000e0
/* L1 Data Bank A Memory Disable */
#define L1DADABL
0x000000e0
/* L1 Data Bank A Memory Disable */
#define L1DBDABL
0x00000700
/* L1 Data Bank B Memory Disable */
#define L1DBDABL
0x00000700
/* L1 Data Bank B Memory Disable */
#define DMA0OVR
0x00000800
/* DMA0 Memory Access Override */
#define DMA0OVR
0x00000800
/* DMA0 Memory Access Override */
#define DMA1OVR
0x00001000
/* DMA1 Memory Access Override */
#define DMA1OVR
0x00001000
/* DMA1 Memory Access Override */
#define EMUOVR
0x00004000
/* Emulation Override */
#define EMUOVR
0x00004000
/* Emulation Override */
#define OTPSEN
0x00008000
/* OTP Secrets Enable */
#define OTPSEN
0x00008000
/* OTP Secrets Enable */
#define L2DABL
0x00070000
/* L2 Memory Disable */
#define L2DABL
0x00070000
/* L2 Memory Disable */
/* Bit masks for SECURE_CONTROL */
/* Bit masks for SECURE_CONTROL */
#define SECURE0
0x0001
/* SECURE 0 */
#define SECURE0
0x0001
/* SECURE 0 */
#define SECURE1
0x0002
/* SECURE 1 */
#define SECURE1
0x0002
/* SECURE 1 */
#define SECURE2
0x0004
/* SECURE 2 */
#define SECURE2
0x0004
/* SECURE 2 */
#define SECURE3
0x0008
/* SECURE 3 */
#define SECURE3
0x0008
/* SECURE 3 */
/* Bit masks for SECURE_STATUS */
/* Bit masks for SECURE_STATUS */
#define SECMODE
0x0003
/* Secured Mode Control State */
#define SECMODE
0x0003
/* Secured Mode Control State */
#define NMI
0x0004
/* Non Maskable Interrupt */
#define NMI
0x0004
/* Non Maskable Interrupt */
#define AFVALID
0x0008
/* Authentication Firmware Valid */
#define AFVALID
0x0008
/* Authentication Firmware Valid */
#define AFEXIT
0x0010
/* Authentication Firmware Exit */
#define AFEXIT
0x0010
/* Authentication Firmware Exit */
#define SECSTAT
0x00e0
/* Secure Status */
#define SECSTAT
0x00e0
/* Secure Status */
#endif
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment