diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-08-31 19:19:35 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-08-31 19:19:35 +0000 |
| commit | 657dcb5165e80b3363b89ca3108356878d4c048e (patch) | |
| tree | 1f7af6e22ee866dcce37f9d1fa310c26a8bb44b4 /firmware/common | |
| parent | 20332bce1d49d7285109564d2e29ee18b0acd54e (diff) | |
| download | rockbox-657dcb5165e80b3363b89ca3108356878d4c048e.zip rockbox-657dcb5165e80b3363b89ca3108356878d4c048e.tar.gz rockbox-657dcb5165e80b3363b89ca3108356878d4c048e.tar.bz2 rockbox-657dcb5165e80b3363b89ca3108356878d4c048e.tar.xz | |
Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
| -rw-r--r-- | firmware/common/disk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 2f1d789..9506582 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -146,6 +146,10 @@ int disk_mount(int drive) { return 0; } +#ifndef ELIO_TPJ1022 + /* The Elio's hard drive has no partition table and probing for partitions causes + Rockbox to crash - so we temporarily disable the probing until we fix the + real problem. */ for (i=0; volume != -1 && i<4; i++) { if (!fat_mount(IF_MV2(volume,) IF_MV2(drive,) pinfo[i].start)) @@ -155,6 +159,7 @@ int disk_mount(int drive) volume = get_free_volume(); /* prepare next entry */ } } +#endif if (mounted == 0 && volume != -1) /* none of the 4 entries worked? */ { /* try "superfloppy" mode */ |