diff options
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 | } |