diff options
author | Mark Arigo <markarigo@gmail.com> | 2008-01-09 07:24:43 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2008-01-09 07:24:43 +0000 |
commit | e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f (patch) | |
tree | 918000a401ae36817091cc4561573a5578f87ba5 /firmware/common | |
parent | f59a327f674c36487ed04e6cf36369a622da7f40 (diff) | |
download | rockbox-e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f.tar.gz rockbox-e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f.zip |
Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/disk.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index cb35a8d7b0..9fb73f0070 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c | |||
@@ -137,7 +137,6 @@ static int get_free_volume(void) | |||
137 | 137 | ||
138 | int disk_mount(int drive) | 138 | int disk_mount(int drive) |
139 | { | 139 | { |
140 | int i; | ||
141 | int mounted = 0; /* reset partition-on-drive flag */ | 140 | int mounted = 0; /* reset partition-on-drive flag */ |
142 | int volume = get_free_volume(); | 141 | int volume = get_free_volume(); |
143 | struct partinfo* pinfo = disk_init(IF_MV(drive)); | 142 | struct partinfo* pinfo = disk_init(IF_MV(drive)); |
@@ -146,14 +145,14 @@ int disk_mount(int drive) | |||
146 | { | 145 | { |
147 | return 0; | 146 | return 0; |
148 | } | 147 | } |
149 | #ifndef ELIO_TPJ1022 | 148 | #if !defined(ELIO_TPJ1022) && !defined(MROBE_100) |
150 | /* The Elio's hard drive has no partition table and probing for partitions causes | 149 | /* The Elio's hard drive has no partition table and probing for partitions causes |
151 | Rockbox to crash - so we temporarily disable the probing until we fix the | 150 | Rockbox to crash - so we temporarily disable the probing until we fix the |
152 | real problem. */ | 151 | real problem. */ |
153 | #ifdef TOSHIBA_GIGABEAT_S | 152 | #ifdef TOSHIBA_GIGABEAT_S |
154 | i = 1; /* For the Gigabeat S, we mount the second partition */ | 153 | int i = 1; /* For the Gigabeat S, we mount the second partition */ |
155 | #else | 154 | #else |
156 | i = 0; | 155 | int i = 0; |
157 | #endif | 156 | #endif |
158 | for (; volume != -1 && i<4; i++) | 157 | for (; volume != -1 && i<4; i++) |
159 | { | 158 | { |