[coreboot-gerrit] Patch merged into coreboot/master: x86/acpi_device: Fix writing of array property

gerrit at coreboot.org gerrit at coreboot.org
Fri Oct 7 18:04:40 CEST 2016


the following patch was just integrated into master:
commit 35c01bc4e0bc72d4ba8bafc922b47f9aa47ca02d
Author: Furquan Shaikh <furquan at chromium.org>
Date:   Mon Oct 3 23:30:14 2016 -0700

    x86/acpi_device: Fix writing of array property
    
    Only acpi_dp of type DP_TYPE_TABLE is allowed to be an array. This
    DP_TYPE_TABLE does not have a value which is written. Thus,
    acpi_dp_write_array needs to start counting from the next element type
    in the array. Fix this by updating the initialization in for loop for
    writing array elements.
    
    BUG=chrome-os-partner:55988
    BRANCH=None
    TEST=Verified that the correct number of elements are passed for
    add_gpio in maxim sdmode-gpio.
    
    Change-Id: I8e1e540d66086971de2edf0bb83494d3b1dbd176
    Signed-off-by: Furquan Shaikh <furquan at chromium.org>
    Reviewed-on: https://review.coreboot.org/16871
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Tested-by: build bot (Jenkins)
    Reviewed-by: Duncan Laurie <dlaurie at chromium.org>


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

-gerrit



More information about the coreboot-gerrit mailing list