From 986959ca28b8486e10dc3cc12fa6e54b8aac7144 Mon Sep 17 00:00:00 2001 From: Mikael Larsson Date: Mon, 1 Nov 2010 10:48:11 +0100 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7551 Reviewed-by: Michael BRANDT --- board/st/u8500/itp.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'board') 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; } -- cgit v1.2.3