[coreboot-gerrit] Patch merged into coreboot/master: 58f3062 nyan: Use the new pinmux functions as part of UART setup.

gerrit at coreboot.org gerrit at coreboot.org
Wed Sep 10 19:41:35 CEST 2014


the following patch was just integrated into master:
commit 58f306258067f1df231d9c01a60930c2ee815dbc
Author: Gabe Black <gabeblack at google.com>
Date:   Fri Oct 4 06:17:22 2013 -0700

    nyan: Use the new pinmux functions as part of UART setup.
    
    The pins for the UART had been configured manually using hardcoded offsets and
    values. Now that we have pinmux functions for that sort of thing, we should
    use that instead. This also provides a very simple test for the pinmux code.
    
    Ultimately this code should be wrapped in a function which handles setting up
    any of the UARTs which is appropriately parameterized and which would be
    called from the bootblock main instead of being in it, but for now this is
    sufficient.
    
    Old-Change-Id: I69e36fa5fc9b6f3f5ef7f1be3e9f18cdbfdd7fe9
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: https://chromium-review.googlesource.com/171807
    Reviewed-by: Ronald Minnich <rminnich at chromium.org>
    Reviewed-by: David Hendricks <dhendrix at chromium.org>
    Commit-Queue: Gabe Black <gabeblack at chromium.org>
    Tested-by: Gabe Black <gabeblack at chromium.org>
    (cherry picked from commit d29e655b68143e86199ab1d74f89e125b16b67cc)
    
    tegra124: Call the set_avp_clock_to_clkm function in the bootblock.
    
    We had a hardcoded version of the set_avp_clock_to_clkm function in the
    bootblock, and we had to use it until now because the real version uses
    udelay, and until now that hadn't been implemented. Also, replace the delay
    loop in the hacky_hardcoded_uart_setup_function with a call to the real thing.
    
    Old-Change-Id: I6df9421bcad484e0855c67649683d474d78e4883
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: https://chromium-review.googlesource.com/172045
    Reviewed-by: Gabe Black <gabeblack at chromium.org>
    Commit-Queue: Gabe Black <gabeblack at chromium.org>
    Tested-by: Gabe Black <gabeblack at chromium.org>
    (cherry picked from commit 4c6dd4c7cade7d922a258e0371e43972bce77249)
    
    Squashed two tegra124 bootblock related commits.
    
    Change-Id: I0ce6321a04b11b7f1250ef3816fe46732777988d
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
    Reviewed-on: http://review.coreboot.org/6861
    Tested-by: build bot (Jenkins)
    Reviewed-by: David Hendricks <dhendrix at chromium.org>


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

-gerrit



More information about the coreboot-gerrit mailing list