[coreboot-gerrit] Patch merged into coreboot/master: 6e23066 libpayload: Use unsigned long for BARs in *hci_init()

gerrit at coreboot.org gerrit at coreboot.org
Thu Jul 10 20:55:52 CEST 2014


the following patch was just integrated into master:
commit 6e23066d7ac31bd29b328824ec11e7d1252cf41c
Author: Nico Huber <nico.huber at secunet.com>
Date:   Mon Jul 7 16:33:59 2014 +0200

    libpayload: Use unsigned long for BARs in *hci_init()
    
    Using void* for physical addresses leads to much casting and confuses
    developers when to convert from physical to virtual addresses or
    the other way around. When using plain integers for physical addresses
    and pointers for virtual addresses things become much cleaner and we
    won't ever end up dereferencing a physical address.
    
    Change-Id: I24cd53b81c7863b6d14f0cbb4ce8937728b37c1c
    Signed-off-by: Nico Huber <nico.huber at secunet.com>
    Reviewed-on: http://review.coreboot.org/6244
    Tested-by: build bot (Jenkins)
    Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>


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

-gerrit



More information about the coreboot-gerrit mailing list