linux/include/linux/mxc_scc2_driver.h File Reference

(Header file to use the SCC2 driver.) More...

Data Structures

struct  scc_config_t

Defines

#define SCC_DRIVER_MAJOR_VERSION   2
#define SCC_DRIVER_MINOR_VERSION_0   0
#define SCC_DRIVER_MINOR_VERSION_2   2


Detailed Description

(Header file to use the SCC2 driver.)

The SCC2 driver is available to other kernel modules directly. Secure Partition functionality is extended to users through the SHW API. Other functionality of the SCC2 is limited to kernel-space users.

With the exception of scc_monitor_security_failure(), all routines are 'synchronous', i.e. they will not return to their caller until the requested action is complete, or fails to complete. Some of these functions could take quite a while to perform, depending upon the request.

Routines are provided to:

The SCC2 encrypts and decrypts using Triple DES with an internally stored key. When the SCC2 is in Secure mode, it uses its secret, unique-per-chip key. When it is in Non-Secure mode, it uses a default key. This ensures that secrets stay secret if the SCC2 is not in Secure mode.

Not all functions that could be provided in a 'high level' manner have been implemented. Among the missing are interfaces to the ASC/AIC components and the timer functions. These and other features must be accessed through scc_read_register() and scc_write_register(), using the #define values provided.

Here is a glossary of acronyms used in the SCC2 driver documentation:


Define Documentation

#define SCC_DRIVER_MAJOR_VERSION   2

Major Version of the driver. Used for scc_configuration->driver_major_version

#define SCC_DRIVER_MINOR_VERSION_0   0

Old Minor Version of the driver.

#define SCC_DRIVER_MINOR_VERSION_2   2

Minor Version of the driver. Used for scc_configuration->driver_minor_version

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen