diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-07-21 18:40:20 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-28 11:58:09 -0400 |
commit | c5b53baeaa1ba32bdbfd492c1dc38b6f2b64484a (patch) | |
tree | adafab7c60fb33bc5854d28edf02a4e69d0bbcd7 /drivers/rtc/ds164x.c | |
parent | a92b794f3203831b384cfd5bb700718ad9fdeb05 (diff) |
drivers: rtc: correctly set week day for mc146818
The driver sets the weekday incorrectly when called by the
'date set' command.
Sunday is 1, Saturday is 7 unlike in U-Boot (see data sheet
https://www.nxp.com/docs/en/data-sheet/MC146818.pdf, table 3).
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/rtc/ds164x.c')
0 files changed, 0 insertions, 0 deletions