blob: 447911c72db9aa8fd7695ce307cb4dc9ba832a36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* 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
#define ISSWAPI_VERIFY_SIGNED_HEADER 0x11000005
#define ISSWAPI_VERIFY_HASH 0x11000006
int sec_bridge_init_bridge(void);
u32 sec_bridge_call_secure_service(const u32 serviceid,
const u32 secureconfig, ...);
int sec_bridge_flush_issw(void);
int sec_bridge_verify_kernel_image(u32 *img_addr);
int sec_bridge_verify_itp_image(u32 *img_addr);
#endif
|