From e4dff321799fc342638be45618bf0fc44b74b186 Mon Sep 17 00:00:00 2001 From: Robert Rosengren Date: Tue, 14 Dec 2010 09:28:58 +0100 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10895 Reviewed-by: QATOOLS Reviewed-by: Michael BRANDT --- include/asm-arm/arch-db8500/sec_bridge.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/asm-arm/arch-db8500/sec_bridge.h (limited to 'include') 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 for ST-Ericsson. + * + * License terms: GNU General Public License (GPL), version 2. + */ +#ifndef _SEC_BRIDGE_H +#define _SEC_BRIDGE_H + +#include + +#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 -- cgit v1.2.3