diff options
author | Mikael Larsson <mikael.xt.larsson@stericsson.com> | 2010-10-14 09:19:16 +0200 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-10-26 15:10:46 +0200 |
commit | 1228c1a209bfc96c9ccf32d3aedbd523314877a3 (patch) | |
tree | 3dcc1653af71b7b60140c860e2eec2a679815e29 /board/st/u8500/mmc_host.c | |
parent | 72804305ab834ae203857d8efafab1cfc97fcc61 (diff) |
Minimize time to splash
Moved splash start to just after emmc init to minimize time to splash.
Changed behaviour so that all SW is loaded after splash and splash is
not loaded if it is itp.
ST-Ericsson ID: ER268766
Change-Id: I09f8efce997ebd97d6de1a5fbff707b2aef175a4
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/6515
Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'board/st/u8500/mmc_host.c')
-rw-r--r-- | board/st/u8500/mmc_host.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/board/st/u8500/mmc_host.c b/board/st/u8500/mmc_host.c index 79be58acd..d17fc6914 100644 --- a/board/st/u8500/mmc_host.c +++ b/board/st/u8500/mmc_host.c @@ -21,7 +21,6 @@ #include <malloc.h> #include <div64.h> #include "mmc_fifo.h" -#include "itp.h" struct mmc_host { @@ -617,16 +616,14 @@ int board_mmc_init(bd_t *bis) mmc_init(dev); /* - * In a perfect world itp_load_itp shouldn't be here but we want ITP - * to be loaded as quickly as possible and putting it here will get the - * shortest time to start loading ITP. Time saved by putting it here - * compared to later is somewhere between 0.3-0.7s. That is enough to be - * able to justify putting it here. + * In a perfect world board_early_access shouldn't be here but we want + * some functionality to be loaded as quickly as possible and putting it + * here will get the shortest time to start that functionality. Time + * saved by putting it here compared to later is somewhere between + * 0.3-0.7s. That is enough to be able to justify putting it here. */ -#ifdef CONFIG_ITP_LOAD - itp_load_itp_and_modem(&dev->block_dev); -#endif + board_early_access(&dev->block_dev); dev = alloc_mmc_struct(); if (!dev) |