projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a7ba9
)
timer: start a new timer after relocation
author
Thomas Chou
<thomas@wytron.com.tw>
Fri, 9 Oct 2015 05:48:56 +0000
(13:48 +0800)
committer
Thomas Chou
<thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:37:03 +0000
(07:37 +0800)
Start a new timer after relocation, just in case the
timer has been used in per-relocation.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Simon Glass <sjg@chromium.org>
common/board_r.c
patch
|
blob
|
history
diff --git
a/common/board_r.c
b/common/board_r.c
index f8c1baa9496e9f3cc4a932cabdef1b2b301a2de5..a4facf8845d1deebfc63b58a4c17a254c20cdb11 100644
(file)
--- a/
common/board_r.c
+++ b/
common/board_r.c
@@
-290,6
+290,9
@@
static int initr_dm(void)
/* Save the pre-reloc driver model and start a new one */
gd->dm_root_f = gd->dm_root;
gd->dm_root = NULL;
+#ifdef CONFIG_TIMER
+ gd->timer = NULL;
+#endif
return dm_init_and_scan(false);
}
#endif