diff options
Diffstat (limited to 'firmware/export/hwcompat.h')
-rw-r--r-- | firmware/export/hwcompat.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/firmware/export/hwcompat.h b/firmware/export/hwcompat.h index c37add49f9..ea167a4adf 100644 --- a/firmware/export/hwcompat.h +++ b/firmware/export/hwcompat.h | |||
@@ -24,37 +24,6 @@ | |||
24 | #include <stdbool.h> | 24 | #include <stdbool.h> |
25 | #include "config.h" | 25 | #include "config.h" |
26 | 26 | ||
27 | #if (CONFIG_CPU == SH7034) && (CONFIG_PLATFORM & PLATFORM_NATIVE) | ||
28 | |||
29 | #define ROM_VERSION (*(short *)0x020000fe) | ||
30 | |||
31 | /* Bit mask values for HW compatibility */ | ||
32 | #define ATA_ADDRESS_200 0x0100 | ||
33 | #define USB_ACTIVE_HIGH 0x0100 | ||
34 | #define PR_ACTIVE_HIGH 0x0100 | ||
35 | #define LCD_CONTRAST_BIAS 0x0200 | ||
36 | #define MMC_CLOCK_POLARITY 0x0400 | ||
37 | #define TUNER_MODEL 0x0800 | ||
38 | |||
39 | #ifdef ARCHOS_PLAYER | ||
40 | #define HW_MASK 0 | ||
41 | #else /* Recorders, Ondios */ | ||
42 | #define HW_MASK (*(short *)0x020000fc) | ||
43 | #endif | ||
44 | |||
45 | #ifdef CONFIG_TUNER_MULTI | ||
46 | static inline int tuner_detect_type(void) | ||
47 | { | ||
48 | return (HW_MASK & TUNER_MODEL) ? TEA5767 : S1A0903X01; | ||
49 | } | ||
50 | #endif | ||
51 | |||
52 | #endif /* (CONFIG_CPU == SH7034) && (CONFIG_PLATFORM & PLATFORM_NATIVE) */ | ||
53 | |||
54 | #ifdef ARCHOS_PLAYER | ||
55 | bool is_new_player(void); | ||
56 | #endif | ||
57 | |||
58 | #ifdef IPOD_ARCH | 27 | #ifdef IPOD_ARCH |
59 | #ifdef IPOD_VIDEO | 28 | #ifdef IPOD_VIDEO |
60 | #ifdef BOOTLOADER | 29 | #ifdef BOOTLOADER |