[coreboot-gerrit] Patch set updated for coreboot: 9a59d74 amd/cimx/sb700/late.c: Add type cast to (UINT8)

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Thu Jun 27 01:27:57 CEST 2013


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3541

-gerrit

commit 9a59d74a7d8cc210f11f6a710f1acd26a501e849
Author: Bruce Griffith <Bruce.Griffith at se-eng.com>
Date:   Tue Jun 25 14:29:08 2013 -0600

    amd/cimx/sb700/late.c: Add type cast to (UINT8)
    
    This change inserts a type cast to eliminate a compiler warning.
    
    Change-Id: If223f61f1565caeadb1b7e0762975b1b2412eda5
    Signed-off-by: Bruce Griffith <Bruce.Griffith at se-eng.com>
---
 src/southbridge/amd/cimx/sb700/late.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/southbridge/amd/cimx/sb700/late.c b/src/southbridge/amd/cimx/sb700/late.c
index ede9fb3..b259a7b 100644
--- a/src/southbridge/amd/cimx/sb700/late.c
+++ b/src/southbridge/amd/cimx/sb700/late.c
@@ -254,7 +254,7 @@ static void sb700_enable(device_t dev)
 				/* I/O APIC IDs are normally limited to 4-bits. Enforce this limit. */
 #if (CONFIG_APIC_ID_OFFSET == 0 && CONFIG_MAX_CPUS * CONFIG_MAX_PHYSICAL_CPUS >= 1)
 				/* Assign the ioapic ID the next available number after the processor core local APIC IDs */
-				setup_ioapic(ioapic_base, CONFIG_MAX_CPUS * CONFIG_MAX_PHYSICAL_CPUS);
+				setup_ioapic(ioapic_base, (UINT8) (CONFIG_MAX_CPUS * CONFIG_MAX_PHYSICAL_CPUS));
 #elif (CONFIG_APIC_ID_OFFSET > 0)
 				/* Assign the ioapic ID the value 0. Processor APIC IDs follow. */
 				setup_ioapic(ioapic_base, 0);



More information about the coreboot-gerrit mailing list