From 074f516bda136e5464499fc63a854d8469f8e9fb Mon Sep 17 00:00:00 2001 From: Jonas Date: Fri, 20 Nov 2009 15:23:58 +0100 Subject: 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 --- board/st/u8500/emmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board') 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"); } -- cgit v1.2.3