summaryrefslogtreecommitdiff
path: root/board/st/u8500/u8500.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/u8500/u8500.c')
-rw-r--r--board/st/u8500/u8500.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/board/st/u8500/u8500.c b/board/st/u8500/u8500.c
index 93cd79d39..37f81211d 100644
--- a/board/st/u8500/u8500.c
+++ b/board/st/u8500/u8500.c
@@ -310,25 +310,29 @@ mcde_error:
int board_early_access(block_dev_desc_t *block_dev)
{
+ /*
+ * Don't load itp, modem and splash if restarted (eg crashdump).
+ */
+ if (!(data_init_flag > 0)) {
#ifdef CONFIG_ITP_LOAD
- itp_read_config(block_dev);
+ itp_read_config(block_dev);
#endif
#ifdef CONFIG_VIDEO_LOGO
- /* only load splash if not itp */
+ /* only load splash if not itp */
#ifdef CONFIG_ITP_LOAD
- if (!itp_is_itp_in_config())
- mcde_error = dss_init();
+ if (!itp_is_itp_in_config())
+ mcde_error = dss_init();
#else
- mcde_error = dss_init();
+ mcde_error = dss_init();
#endif
#endif
#ifdef CONFIG_ITP_LOAD
- if (itp_load_itp_and_modem(block_dev))
- return 1;
+ if (itp_load_itp_and_modem(block_dev))
+ return 1;
#endif
-
+ }
return 0;
}