diff options
author | Steve Markgraf <steve@steve-m.de> | 2011-01-12 19:09:16 +0100 |
---|---|---|
committer | Steve Markgraf <steve@steve-m.de> | 2011-01-12 19:09:16 +0100 |
commit | b5abcb69701f2f72db433448831eef1052148952 (patch) | |
tree | 530031b051de15ba86d2146503ae7d8c6c06aac0 | |
parent | 9627afc8bbd0e12a5ee154297262d50beb68a773 (diff) |
target/loader: disable bootrom mapping
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>
-rw-r--r-- | src/target/firmware/apps/loader/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/firmware/apps/loader/main.c b/src/target/firmware/apps/loader/main.c index fd10b192..04b337bc 100644 --- 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(); |