[coreboot-gerrit] Patch merged into coreboot/master: 9b05846 Avoid 64bit math on MIPS platforms

gerrit at coreboot.org gerrit at coreboot.org
Mon Mar 30 21:42:39 CEST 2015


the following patch was just integrated into master:
commit 9b0584677f22429b9c14b920d56219c07dab56bd
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Sat Nov 29 22:05:09 2014 -0800

    Avoid 64bit math on MIPS platforms
    
    Low level 64 bit division and modulo functions are not available for
    MIPS platforms, but are required by the printk formatter.
    
    Modify the code to avoid 64 bit math when building for MIPS. In case
    the user does print a value exceeding 2^32, send a few junk characters
    to the output to indicate a corrupted value printed.
    
    [pg: add the printed sequence to the comment, so git grep can find it]
    
    BRANCH=none
    BUG=none
    TEST=startup code on Urara properly prints CBFS address values which
         are passed as 64 bit integers.
    
    Change-Id: Ie777019cd8d55c53d5e816fbacfe79893c3d64c7
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 8347f914a9cceca017668f8387ba679c2c79e66d
    Original-Change-Id: I25b8a900b3ba4ec1da3446dcc5f03101d5cdb757
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/232294
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: http://review.coreboot.org/9162
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Aaron Durbin <adurbin at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list