diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-07-22 14:50:21 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2019-08-27 09:36:56 +0200 |
commit | fed51572c81192a9135380e88cfa445361dade5d (patch) | |
tree | 3d5304d28553fd0385240b84d3ab7eb7775e5173 /configs/khadas-edge-v-rk3399_defconfig | |
parent | 0203050e57f5e0ad6c696cb64cfbc01fd08b67c5 (diff) |
rtc: stm32: manage 2 digit limitation on year
STM32 RTC manages only 2 digits for YEAR
(Year tens and units in BCD format in RTC_DR register).
With this patch, RTC driver assumes that tm->tm_years is between
2000 and 2099; tm->tm_year - 2000 have only 2 digit
(0 > and <= 99).
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'configs/khadas-edge-v-rk3399_defconfig')
0 files changed, 0 insertions, 0 deletions