diff options
author | Robert Rosengren <robert.rosengren@stericsson.com> | 2010-12-14 09:12:41 +0100 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-12-15 09:53:31 +0100 |
commit | c0d5e1d2461f8135492a79f3e5259ac324ee1a96 (patch) | |
tree | 485a730652f6ff122f269f3583130dbbd29a68df /include/asm-arm/arch-db8500/itp.h | |
parent | a7d22caa0320025442cb8c275bd70d034f5eb308 (diff) |
U8500: Move itp and cspsa into SoC directory
itp.c and cspsa_fp.c is SoC specific, not board specific.
Other db8500 based boards need it as well, therefore move it into
the SoC directory.
ST-Ericsson ID: WP275634
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I386c0d84e9f44f18ded0d9059fc2dae4c27974f2
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10894
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Diffstat (limited to 'include/asm-arm/arch-db8500/itp.h')
-rw-r--r-- | include/asm-arm/arch-db8500/itp.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/asm-arm/arch-db8500/itp.h b/include/asm-arm/arch-db8500/itp.h new file mode 100644 index 000000000..e1faf0db0 --- /dev/null +++ b/include/asm-arm/arch-db8500/itp.h @@ -0,0 +1,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__ */ |