diff options
author | Robert Rosengren <robert.rosengren@stericsson.com> | 2010-12-14 09:28:58 +0100 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-12-15 10:00:48 +0100 |
commit | e4dff321799fc342638be45618bf0fc44b74b186 (patch) | |
tree | 5fbeeb1fa80d1faca8824475527a68903aa83a14 /include | |
parent | c0d5e1d2461f8135492a79f3e5259ac324ee1a96 (diff) |
db8500: Move ISSW code out from itp.c
Splitting security related code from itp.c into sec_bridge.c
ST-Ericsson ID: WP275634
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I813daf0d0eaea4645e7d990bf467f19b0af968db
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10895
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-db8500/sec_bridge.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/asm-arm/arch-db8500/sec_bridge.h b/include/asm-arm/arch-db8500/sec_bridge.h new file mode 100644 index 000000000..c02bc38a3 --- /dev/null +++ b/include/asm-arm/arch-db8500/sec_bridge.h @@ -0,0 +1,23 @@ +/* + * Copyright (C) ST-Ericsson SA 2010 + * + * Author: Mikael Larsson <mikael.xt.larsson@stericsson.com> for ST-Ericsson. + * + * License terms: GNU General Public License (GPL), version 2. + */ +#ifndef _SEC_BRIDGE_H +#define _SEC_BRIDGE_H + +#include <common.h> + +#define SEC_ROM_FORCE_CLEAN_MASK 0x0020 +#define SEC_ROM_RET_OK 0x01 + +#define ISSWAPI_SECURE_LOAD 0x10000002 +#define ISSWAPI_FLUSH_BOOT_CODE 0x11000003 + +int sec_bridge_init_bridge(void); +u32 sec_bridge_call_secure_service(const u32 serviceid, + const u32 secureconfig, ...); +int sec_bridge_flush_issw(void); +#endif |