summaryrefslogtreecommitdiff
path: root/board/st/u8500/itp.h
blob: e1faf0db0809caf644e9a17c640768a57a26f34b (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 __ITP_H__
#define __ITP_H__

#include <part.h>

/* These values are reserved and should not be removed or changed */
#define ITP_LOAD_KERNEL		0x01
#define ITP_LOAD_MODEM		0x02
#define ITP_LOAD_ITP		0x04

#define ITP_TOC_ITP_NAME	"ITP"
#define ITP_TOC_MODEM_NAME	"MODEM"
#define ITP_TOC_IPL_NAME	"IPL"

#define ITP_CSPSA_KEY		0

int itp_is_itp_in_config(void);
int itp_read_config(block_dev_desc_t *block_dev);
int itp_load_itp_and_modem(block_dev_desc_t *block_dev);

#endif	/* __ITP_H__ */