[coreboot-gerrit] Patch merged into coreboot/master: lib: Add real-time-clock functions

gerrit at coreboot.org gerrit at coreboot.org
Fri Jun 24 20:22:19 CEST 2016


the following patch was just integrated into master:
commit 2cf99e1655ea2f10bcd5a0f494bbad4db4d46bee
Author: Simon Glass <sjg at chromium.org>
Date:   Fri Jun 10 20:58:24 2016 -0600

    lib: Add real-time-clock functions
    
    Add functions to convert between seconds and a struct rtc_time. Also
    add a function that can display the time on the console.
    
    BUG=chrome-os-partner:52220
    BRANCH=none
    TEST=(partial) with future commits and after setting RTC on the EC:
    boot on gru into linux shell, check firmware log:
    
    localhost ~ # grep Date: /sys/firmware/log
    Date: 2016-06-20 (Monday)  Time: 18:01:44
    
    Then reboot ~10 seconds and check again:
    
    localhost ~ # grep Date: /sys/firmware/log
    Date: 2016-06-20 (Monday)  Time: 18:01:54
    
    Change-Id: Id148ccb7a18a05865b903307358666ff6c7b4a3d
    Signed-off-by: Martin Roth <martinroth at chromium.org>
    Original-Commit-Id: 3b02dbcd7d9023ce0acabebcf904e70007428d27
    Original-Change-Id: I344c385e2e4cb995d3a374025c205f01c38b660d
    Original-Signed-off-by: Simon Glass <sjg at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/351782
    Original-Commit-Ready: Vadim Bendebury <vbendeb at chromium.org>
    Original-Tested-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-by: Vadim Bendebury <vbendeb at chromium.org>
    Reviewed-on: https://review.coreboot.org/15301
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


See https://review.coreboot.org/15301 for details.

-gerrit



More information about the coreboot-gerrit mailing list