summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMichael Brandt <Michael.Brandt@stericsson.com>2010-01-04 13:55:56 +0100
committerMichael Brandt <Michael.Brandt@stericsson.com>2010-01-04 13:55:56 +0100
commit1cee06e7df9cb7158c318dba30f22b90d099cf6c (patch)
treee885525c7142d12adce3c6848b03bcde9a152077 /board
parent99fbc2780bf5880035d2c33a6791052d37d327e4 (diff)
parent63eb3ec88742b03283131d078053a8e3efe32975 (diff)
Merge branch 'boottime' into mop500
Conflicts: .gitignore include/configs/u8500.h
Diffstat (limited to 'board')
-rwxr-xr-xboard/st/u8500/emmc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/st/u8500/emmc.c b/board/st/u8500/emmc.c
index 780ddaebc..214b2b14b 100755
--- a/board/st/u8500/emmc.c
+++ b/board/st/u8500/emmc.c
@@ -26,6 +26,7 @@
#include "mmc.h"
#include "emmc.h"
#include "gpio.h"
+#include <asm/boottime.h>
#define PIB_EMMC_ADDR 0x00
/* ========================================================================
@@ -233,7 +234,9 @@ int emmc_read(u32 block_offset, u32 read_buffer, u32 filesize)
remaining = 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)
@@ -259,7 +262,8 @@ int emmc_read(u32 block_offset, u32 read_buffer, u32 filesize)
return 1;
}
}
- printf(" eMMC read done \n");
+
+ printf(" eMMC read done \n");
return 0;
}