From f2042983f08cd49404be0b6916fc73d778fe8dba Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Fri, 2 May 2008 19:12:09 +0000 Subject: 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 --- firmware/target/arm/tcc77x/ata-nand-tcc77x.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'firmware/target/arm/tcc77x/ata-nand-tcc77x.c') 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; long last_disk_activity = -1; +/* Used to store (fake?) identify info */ +static unsigned short identify_info[256]; + /** static, private data **/ static bool initialized = false; @@ -91,4 +94,11 @@ void ata_enable(bool on) int ata_init(void) { + return 0; +} + +/* TEMP: This will return junk, it's here for compilation only */ +unsigned short* ata_get_identify(void) +{ + return identify_info; } -- cgit v1.2.3