diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-26 17:01:44 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-26 17:01:44 +0200 |
commit | 0897794f445c1cbe5c0da4fb95d203491c3871a7 (patch) | |
tree | 54091d8668e8b69f252cae0b9fbee04329840ead /firmware/drivers/rtc/rtc_imx233.c | |
parent | 94f2bc747356217c0f97c61180a15dae5d7ef905 (diff) | |
download | rockbox-0897794f445c1cbe5c0da4fb95d203491c3871a7.tar.gz rockbox-0897794f445c1cbe5c0da4fb95d203491c3871a7.zip |
sonynwz: fix time handling
Be consistent with the OF and use RTC PERSISTENT2 as offset
Change-Id: Ic8b970cbc4096d1f4efa0380a3af51c93484fe58
Diffstat (limited to 'firmware/drivers/rtc/rtc_imx233.c')
-rw-r--r-- | firmware/drivers/rtc/rtc_imx233.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/rtc/rtc_imx233.c b/firmware/drivers/rtc/rtc_imx233.c index e4dfcd89e9..c2df4d13dc 100644 --- a/firmware/drivers/rtc/rtc_imx233.c +++ b/firmware/drivers/rtc/rtc_imx233.c | |||
@@ -28,7 +28,8 @@ | |||
28 | 28 | ||
29 | #define YEAR1980 315532800 /* 1980/1/1 00:00:00 in UTC */ | 29 | #define YEAR1980 315532800 /* 1980/1/1 00:00:00 in UTC */ |
30 | 30 | ||
31 | #if defined(SANSA_FUZEPLUS) || defined(CREATIVE_ZENXFI3) | 31 | #if defined(SANSA_FUZEPLUS) || defined(CREATIVE_ZENXFI3) || defined(SONY_NWZE360) || \ |
32 | defined(SONY_NWZE370) | ||
32 | #define USE_PERSISTENT | 33 | #define USE_PERSISTENT |
33 | #endif | 34 | #endif |
34 | 35 | ||