diff options
author | Jonas <jonas.aberg@stericsson.com> | 2009-11-20 15:23:58 +0100 |
---|---|---|
committer | Michael Brandt <Michael.Brandt@stericsson.com> | 2010-01-13 12:00:28 +0100 |
commit | 074f516bda136e5464499fc63a854d8469f8e9fb (patch) | |
tree | a558c3f77be82412385b95a375889239f5933186 /board/st | |
parent | 2e0649a4f0a40848676fb183437915c1e8dcb866 (diff) |
Updated timing measurement structure, changed atags and added idle time measurement. Note: idle time measurement does not seem to work reliable at the moment. Verification needed.
Signed-off-by: Michael Brandt <Michael.Brandt@stericsson.com>
Diffstat (limited to 'board/st')
-rw-r--r-- | board/st/u8500/emmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/st/u8500/emmc.c b/board/st/u8500/emmc.c index 1d214c026..110c73702 100644 --- a/board/st/u8500/emmc.c +++ b/board/st/u8500/emmc.c @@ -235,8 +235,6 @@ int emmc_read(u32 block_offset, u32 read_buffer, u32 filesize) printf(" eMMC read start filesize=0x%x \n", filesize); - boottime_tag_load_kernel(); - blocks = (n%512==0)?(n/512):(n/512)+1; while(blocks>=8) @@ -354,11 +352,13 @@ int do_emmc_read (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) block_offset = simple_strtoul (argv[2],0,16); filesize = simple_strtoul (argv[3],0,16); + boottime_tag("load_image"); printf("emmc_read :: ram address = 0x%x block address=0x%x \n",ram_address,block_offset); load_result = emmc_read(block_offset,ram_address,filesize); if (load_result != 0) { + boottime_remove_last(); error_name = (unsigned long) (-load_result); printf("emmc_read error : in reading data from eMMC block \n"); } |