From b5abcb69701f2f72db433448831eef1052148952 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Wed, 12 Jan 2011 19:09:16 +0100 Subject: [PATCH] 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 --- src/target/firmware/apps/loader/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/target/firmware/apps/loader/main.c b/src/target/firmware/apps/loader/main.c index fd10b19..04b337b 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(); -- 2.20.1