diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-04-14 16:48:10 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-04-15 07:39:31 +0000 |
commit | 4ae7ee6e2b9f920b012ea9f60d5f5bbb32e62f3a (patch) | |
tree | 6bec8fbf1cca421d720a3546a44f276a71fd0f2d /src/mainboard/siemens | |
parent | a4819b3c31b86950de3ccbe848ec50d6f4d3bdb8 (diff) |
lib/rtc: Remove unnecessary year constraint in rtc_calc_weekday
Algorithm used to calculate weekday is now based on Zeller's rule, so it
does not need if statement constraining year to 1971 and later.
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I25e2e6a1c9b2fb1ac2576e028b580db0ea474d37
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52347
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'src/mainboard/siemens')
0 files changed, 0 insertions, 0 deletions