projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9627afc
)
target/loader: disable bootrom mapping
author
Steve Markgraf
<steve@steve-m.de>
Wed, 12 Jan 2011 18:09:16 +0000
(19:09 +0100)
committer
Steve Markgraf
<steve@steve-m.de>
Wed, 12 Jan 2011 18:09:16 +0000
(19:09 +0100)
This is for being able to read the whole flash on devices that use the bootrom,
and also fixes flash detection on the C139/C140/J100i
Signed-off-by: Steve Markgraf <steve@steve-m.de>
src/target/firmware/apps/loader/main.c
patch
|
blob
|
history
diff --git
a/src/target/firmware/apps/loader/main.c
b/src/target/firmware/apps/loader/main.c
index
fd10b19
..
04b337b
100644
(file)
--- a/
src/target/firmware/apps/loader/main.c
+++ b/
src/target/firmware/apps/loader/main.c
@@
-133,6
+133,9
@@
int main(void)
/* Always disable wdt (some platforms enable it on boot) */
wdog_enable(0);
+ /* Disable the bootrom mapping */
+ calypso_bootrom(0);
+
/* Initialize TWL3025 for power control */
twl3025_init();