Michał Żygowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62098 )
Change subject: nb/amd/amdfam10/bootblock.c: Use consistent types for variables ......................................................................
nb/amd/amdfam10/bootblock.c: Use consistent types for variables
Signed-off-by: Michał Żygowski michal.zygowski@3mdeb.com Change-Id: I5191e1c16fb11d8f1a8de399a88c36fa2df506a7 --- M src/northbridge/amd/amdfam10/bootblock.c 1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/62098/1
diff --git a/src/northbridge/amd/amdfam10/bootblock.c b/src/northbridge/amd/amdfam10/bootblock.c index da4eb03..c8b5f99 100644 --- a/src/northbridge/amd/amdfam10/bootblock.c +++ b/src/northbridge/amd/amdfam10/bootblock.c @@ -68,12 +68,12 @@ * links the appropriate bus registers for the links needs to be * programed to point at bus 0. */ - unsigned int next_unitid, last_unitid = 0; + u8 next_unitid, last_unitid = 0; /* * Let's record the device of last ht device, So we can set the Unitid * to CONFIG_HT_CHAIN_END_UNITID_BASE */ - unsigned int real_last_unitid = 0; + u8 real_last_unitid = 0; u8 real_last_pos = 0; int ht_dev_num = 0; /* except host_bridge */ u8 end_used = 0; @@ -101,8 +101,8 @@ pci_write_config16(PCI_DEV(0,0,0), pos + PCI_CAP_FLAGS, flags); flags = pci_read_config16(PCI_DEV(0,0,0), pos + PCI_CAP_FLAGS); if (pci_cap_is_ht_primary(pos)) { - unsigned int count; - unsigned int ctrl, ctrl_off; + u8 count; + u8 ctrl, ctrl_off; pci_devfn_t devx;
if (CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20) {