[coreboot-gerrit] Patch merged into coreboot/master: b29a67d libpayload: pistachio: fix timer implementation

gerrit at coreboot.org gerrit at coreboot.org
Sat Mar 21 11:08:38 CET 2015


the following patch was just integrated into master:
commit b29a67d8c87d1e66042bab3029bbb5b82bd4e972
Author: Ionela Voinescu <ionela.voinescu at imgtec.com>
Date:   Thu Jan 22 14:53:28 2015 +0000

    libpayload: pistachio: fix timer implementation
    
    timer_raw_value must return the number of CPU ticks, and not
    the time obtained by dividing the ticks by the CPU frequency.
    The CPU counter is increased at every 2 CPU clocks
    and therfore the number of ticks will be the counter value
    multiplied by 2.
    
    BUG=chrome-os-partner:31438
    TEST=tested on Pistachio FPGA; it works properly.
    BRANCH=none
    
    Change-Id: Iae62cb328e882f84822250bdf72146321ca9bbe0
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 7ab25ce7dcaffb453ee774d870963a56444d46af
    Original-Change-Id: I74408950900463a2c054d5aebd3edb005a325adb
    Original-Signed-off-by: Ionela Voinescu <ionela.voinescu at imgtec.com>
    Original-Reviewed-on: https://chromium-review.googlesource.com/242393
    Original-Reviewed-by: David Hendricks <dhendrix at chromium.org>
    Reviewed-on: http://review.coreboot.org/8744
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


See http://review.coreboot.org/8744 for details.

-gerrit



More information about the coreboot-gerrit mailing list