summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMikael Larsson <mikael.xt.larsson@stericsson.com>2010-11-01 10:48:11 +0100
committerMichael BRANDT <michael.brandt@stericsson.com>2010-11-01 14:03:10 +0100
commit986959ca28b8486e10dc3cc12fa6e54b8aac7144 (patch)
tree1055438466fa21fdd104941470a7a51abe2030f7 /board
parent2e5d08ac9c524bf97bf1c6ec470aa23f8ce0807c (diff)
U8500: Fix modem loading for V2
This fixes the broken modem loading in V2. ST-Ericsson ID: ER277406 Change-Id: Ifefe85d0cbeaa5c5e6dca3afe57f371530bc646a Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7551 Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'board')
-rw-r--r--board/st/u8500/itp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/board/st/u8500/itp.c b/board/st/u8500/itp.c
index 9a13ba8f9..7dcca4838 100644
--- a/board/st/u8500/itp.c
+++ b/board/st/u8500/itp.c
@@ -30,10 +30,10 @@ struct sec_rom_cut_desc {
};
static const struct sec_rom_cut_desc cuttable[] = {
- { 0x9001FFF4, 0x008500A0, 0x90018300 },
+ { 0x9001DBF4, 0x008500B0, 0x90017300 },
{ 0x9001FFF4, 0x008500A1, 0x90018300 },
{ 0x9001FFF4, 0x005500A0, 0x90018300 },
- { 0x9001DBF4, 0x008500B0, 0x90017300 },
+ { 0x9001FFF4, 0x008500A0, 0x90018300 },
};
static u32 cspsa_key;
@@ -85,7 +85,7 @@ static int itp_flush_issw(void)
0);
if (ret != SEC_ROM_RET_OK) {
- printf("itp_flush_issw: ISSWAPI_FLUSH_BOOT_CODE failed: %d\n",
+ printf("itp_flush_issw: ISSWAPI_FLUSH_BOOT_CODE: %d\n",
ret);
return 1;
}
@@ -101,12 +101,12 @@ static int itp_load_ipl(block_dev_desc_t *block_dev)
u32 returnvalue;
int ab8500_cutid;
- debug("loadipl\n");
+ debug("itp_load_ipl\n");
/* Check if IPL partition is present */
if (get_entry_info_toc(block_dev, ITP_TOC_IPL_NAME, &offset,
&size, &loadaddr)) {
- printf("itp_load_ipl: get_entry_info_toc failed\n");
+ printf("itp_load_ipl: ipl toc entry not present\n");
return 1;
}
@@ -118,7 +118,7 @@ static int itp_load_ipl(block_dev_desc_t *block_dev)
IPL_ITEM_ID,
ab8500_cutid);
if (returnvalue != SEC_ROM_RET_OK) {
- printf("itp_load_ipl: ISSWAPI_SECURE_LOAD failed: %d\n",
+ printf("itp_load_ipl: ISSWAPI_SECURE_LOAD: %d\n",
returnvalue);
return 1;
}
@@ -138,7 +138,7 @@ static int itp_load_toc_entry(block_dev_desc_t *block_dev,
if (get_entry_info_toc(block_dev, partname, &offset,
&size, loadaddress)) {
- printf("itp_load_toc_entry: get_entry_info_toc failed\n");
+ printf("itp_load_toc_entry: %s not present\n", partname);
return 1;
}
@@ -163,7 +163,7 @@ int itp_read_config(block_dev_desc_t *block_dev)
if (cspsa_fp_read(block_dev,
ITP_CSPSA_KEY,
&cspsa_key)) {
- printf("itp_load_itp_and_modem: cspsa_fp_read failed\n");
+ printf("itp_read_config: config not present\n");
cspsa_key = 0;
return 1;
}