summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-06-01 17:21:19 +0000
committerThomas Martitz <kugel@rockbox.org>2009-06-01 17:21:19 +0000
commit0b6ff6660ae0c357a3baabcded8d6d9f3822ad57 (patch)
treef4adf626fd5ef478315ec77a2a381af7890cacb7
parent4746cde685b4876cc5e9800c5b5d647f0df254ea (diff)
downloadrockbox-0b6ff6660ae0c357a3baabcded8d6d9f3822ad57.tar.gz
rockbox-0b6ff6660ae0c357a3baabcded8d6d9f3822ad57.tar.bz2
rockbox-0b6ff6660ae0c357a3baabcded8d6d9f3822ad57.zip
Samsung YH*: Enable RTC on all, enable lcd contrast on 925.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21157 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-yh820.h14
-rw-r--r--firmware/export/config-yh920.h7
-rw-r--r--firmware/export/config-yh925.h9
3 files changed, 13 insertions, 17 deletions
diff --git a/firmware/export/config-yh820.h b/firmware/export/config-yh820.h
index 28c2a5883c..493c5a1c9f 100644
--- a/firmware/export/config-yh820.h
+++ b/firmware/export/config-yh820.h
@@ -35,6 +35,12 @@
#define LCD_PIXELFORMAT RGB565
#ifndef BOOTLOADER
+
+/* define this if you have a real-time clock */
+#define CONFIG_RTC RTC_E8564
+/* TODO ??? */
+//#define HAVE_RTC_ALARM
+
/* Define this if your LCD can be enabled/disabled */
#define HAVE_LCD_ENABLE
@@ -92,14 +98,6 @@
/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC
-/* define this if you have a real-time clock */
-/* todo verify rtc (or none) */
-/* #ifndef BOOTLOADER */
-#if 0
-#define CONFIG_RTC RTC_E8564
-#define HAVE_RTC_ALARM
-#endif
-
/* define this if you have a disk storage, i.e. something
that needs spinups and can cause skips when shaked */
#define HAVE_DISK_STORAGE
diff --git a/firmware/export/config-yh920.h b/firmware/export/config-yh920.h
index 119b293d3a..22528fdfe3 100644
--- a/firmware/export/config-yh920.h
+++ b/firmware/export/config-yh920.h
@@ -99,11 +99,10 @@
#define CONFIG_CODEC SWCODEC
/* define this if you have a real-time clock */
-/* todo verify rtc (or none) */
-/* #ifndef BOOTLOADER */
-#if 0
+#ifndef BOOTLOADER
#define CONFIG_RTC RTC_E8564
-#define HAVE_RTC_ALARM
+/* TODO ??? */
+//#define HAVE_RTC_ALARM
#endif
/* define this if you have a disk storage, i.e. something
diff --git a/firmware/export/config-yh925.h b/firmware/export/config-yh925.h
index 94d79f6da4..bd15b5aa44 100644
--- a/firmware/export/config-yh925.h
+++ b/firmware/export/config-yh925.h
@@ -51,7 +51,7 @@
#define HAVE_BACKLIGHT
/* Define this if your LCD can set contrast */
-/* todo #define HAVE_LCD_CONTRAST */
+#define HAVE_LCD_CONTRAST
#define MIN_CONTRAST_SETTING 0
#define MAX_CONTRAST_SETTING 30
@@ -96,11 +96,10 @@
#define CONFIG_CODEC SWCODEC
/* define this if you have a real-time clock */
-/* todo verify rtc (or none) */
-/* #ifndef BOOTLOADER */
-#if 0
+#ifndef BOOTLOADER
#define CONFIG_RTC RTC_E8564
-#define HAVE_RTC_ALARM
+/* TODO */
+//#define HAVE_RTC_ALARM
#endif
/* define this if you have a disk storage, i.e. something