diff options
author | Dave Chapman <dave@dchapman.com> | 2008-05-02 19:12:09 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-05-02 19:12:09 +0000 |
commit | f2042983f08cd49404be0b6916fc73d778fe8dba (patch) | |
tree | 33a84414ca4d94770f900e92074c18ecadf23ed7 /firmware/target/arm/tcc77x/ata-nand-tcc77x.c | |
parent | 4cf4b5c2aef075b719e834f30d17c0986fadb658 (diff) | |
download | rockbox-f2042983f08cd49404be0b6916fc73d778fe8dba.tar.gz rockbox-f2042983f08cd49404be0b6916fc73d778fe8dba.zip |
Add the Sansa M200 (v1) as a target - it's extremely similar to the Logik DAX (the LCD driver worked unchanged). Plus various tcc77x work, including a working tick interrupt (enabled in the bootloader). Rockbox itself builds for the M200 (there are no keymaps yet for the DAX), but doesn't progress very far due to the lack of an ATA (NAND flash) driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc77x/ata-nand-tcc77x.c')
-rw-r--r-- | firmware/target/arm/tcc77x/ata-nand-tcc77x.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/tcc77x/ata-nand-tcc77x.c b/firmware/target/arm/tcc77x/ata-nand-tcc77x.c index dd0ae7a950..d7ae5d5ed6 100644 --- a/firmware/target/arm/tcc77x/ata-nand-tcc77x.c +++ b/firmware/target/arm/tcc77x/ata-nand-tcc77x.c | |||
@@ -32,6 +32,9 @@ int ata_spinup_time = 0; | |||
32 | 32 | ||
33 | long last_disk_activity = -1; | 33 | long last_disk_activity = -1; |
34 | 34 | ||
35 | /* Used to store (fake?) identify info */ | ||
36 | static unsigned short identify_info[256]; | ||
37 | |||
35 | /** static, private data **/ | 38 | /** static, private data **/ |
36 | static bool initialized = false; | 39 | static bool initialized = false; |
37 | 40 | ||
@@ -91,4 +94,11 @@ void ata_enable(bool on) | |||
91 | 94 | ||
92 | int ata_init(void) | 95 | int ata_init(void) |
93 | { | 96 | { |
97 | return 0; | ||
98 | } | ||
99 | |||
100 | /* TEMP: This will return junk, it's here for compilation only */ | ||
101 | unsigned short* ata_get_identify(void) | ||
102 | { | ||
103 | return identify_info; | ||
94 | } | 104 | } |