fsl_sec_mon: Add driver for Security Monitor block of Freescale
PATCH v3 2/4 fsl_sec_mon: Add driver for Security Monitor block of Freescale
The Security Monitor is the SOC?s central reporting point for security-relevant events such as the success or failure of boot software validation and the detection of potential security compromises.
The API's for transition of Security states have been added which will be used in case of SECURE BOOT.
---
Changes in v3:
Modify copyright in include/fsl_sec_mon.h and drivers/misc/fsl_sec_mon.c.
Changes in v2:
Commit message is changed.
drivers/misc/Kconfig | 8 +++ drivers/misc/Makefile | 1 + drivers/misc/fsl_sec_mon.c | 146 +++++++++++++++++++++++++++++++++++++++++++++ include/fsl_sec_mon.h | 58 ++++++++++++++++++ 4 files changed, 213 insertions(+) create mode 100644 drivers/misc/fsl_sec_mon.c create mode 100644 include/fsl_sec_mon.h
drivers/misc/Kconfig +8 -0
@@ -53,3 +53,11 @@ config DM_CROS_EC but otherwise makes few changes. Since cros_ec also supports LPC (which doesn't support driver model yet), a full conversion is not yet possible. + +config CONFIG_FSL_SEC_MON + bool "Enable FSL SEC_MON Driver" + help + Freescale Security Monitor block is responsible for monitoring + system states. + Security Monitor can be transitioned on any security failures, + like software violations or hardware security violations.
drivers/misc/Makefile +1 -0
@@ -28,3 +28,4 @@ obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o obj-$(CONFIG_STATUS_LED) += status_led.o obj-$(CONFIG_TWL4030_LED) += twl4030_led.o obj-$(CONFIG_FSL_IFC) += fsl_ifc.o +obj-$(CONFIG_FSL_SEC_MON) += fsl_sec_mon.o
drivers/misc/fsl_sec_mon.c new file +146 -0
146 lines not on this page · raw message
include/fsl_sec_mon.h new file +58 -0
58 lines not on this page · raw message
Signature · 1 line
1.8.1.4
PATCH v3 2/4 fsl_sec_mon: Add driver for Security Monitor block of Freescale
Quoted 7 lines · Gaurav Rana
The Security Monitor is the SOC?s central reporting point for security-relevant events such as the success or failure of boot software validation and the detection of potential security compromises.
The API's for transition of Security states have been added which will be used in case of SECURE BOOT.
Quoted 8 lines
Signed-off-by Ruchika Gupta <[email protected]>Signed-off-by Gaurav Rana <[email protected]>---
Changes in v3:
Modify copyright ininclude/fsl_sec_mon.handdrivers/misc/fsl_sec_mon.c.Changes in v2:
Commit message is changed.
Applied to u-boot-mpc85xx master, awaiting for upstream.
York