diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-10-11 21:35:46 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-10-11 21:35:46 +0000 |
| commit | b3d96833d023547c5868e292cb530b85489a71b2 (patch) | |
| tree | a5ca69467d5b7ae348edd034dd52a26c89130e92 | |
| parent | 130dccf16e61f6116ef3d702b8ac7c967cf3fca5 (diff) | |
| download | rockbox-b3d96833d023547c5868e292cb530b85489a71b2.zip rockbox-b3d96833d023547c5868e292cb530b85489a71b2.tar.gz rockbox-b3d96833d023547c5868e292cb530b85489a71b2.tar.bz2 rockbox-b3d96833d023547c5868e292cb530b85489a71b2.tar.xz | |
fixed rolo-ing of original Archos firmware when flashed. Finally narrowed it down, PAIOR needs to be initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3969 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/rolo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index 46819d8..80dab75 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -171,7 +171,7 @@ int rolo_load(char* filename) return -1; } - restore_io = rolo_io_load("/startup_io.bin"); /* test code, recycle a variable */ + restore_io = rolo_io_load("/startup_io.bin"); /* test code */ lcd_puts(0, 1, "Executing "); lcd_update(); @@ -185,6 +185,7 @@ int rolo_load(char* filename) system_init(); /* Initialize system for restart */ i2c_init(); /* Init i2c bus - it seems like a good idea */ ICR = IRQ0_EDGE_TRIGGER; /* Make IRQ0 edge triggered */ + PAIOR = 0x0FA0; /* needed when flashed, probably model-specific */ if (restore_io) /* test code */ rolo_io_restore(); /* restore the I/Os from the file content */ |