From 38ddbfb325866716c9c65a460e388f33d1a773dd Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 23 Oct 2019 21:41:00 -0600 Subject: src/[arch-lib]: change "unsigned" to "unsigned int" Signed-off-by: Martin Roth Change-Id: Ibb7b48a7a144421aff29acbb7ac30968ae5fe5ab Reviewed-on: https://review.coreboot.org/c/coreboot/+/36329 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/cpu/amd/family_10h-family_15h/fidvid.c | 2 +- src/cpu/amd/family_10h-family_15h/init_cpus.h | 2 +- src/cpu/via/nano/microcode_blob.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/amd/family_10h-family_15h/fidvid.c b/src/cpu/amd/family_10h-family_15h/fidvid.c index 1c2b214dce..917cde307f 100644 --- a/src/cpu/amd/family_10h-family_15h/fidvid.c +++ b/src/cpu/amd/family_10h-family_15h/fidvid.c @@ -1042,7 +1042,7 @@ struct ap_apicid_st { u8 apicid[NODE_NUMS * 4]; }; -static void store_ap_apicid(unsigned ap_apicid, void *gp) +static void store_ap_apicid(unsigned int ap_apicid, void *gp) { struct ap_apicid_st *p = gp; diff --git a/src/cpu/amd/family_10h-family_15h/init_cpus.h b/src/cpu/amd/family_10h-family_15h/init_cpus.h index 07d7dbf8a9..4be6ee806f 100644 --- a/src/cpu/amd/family_10h-family_15h/init_cpus.h +++ b/src/cpu/amd/family_10h-family_15h/init_cpus.h @@ -26,7 +26,7 @@ #define NODE_MC(x) NODE_PCI(x,3) #define NODE_LC(x) NODE_PCI(x,4) -unsigned int get_sbdn(unsigned bus); +unsigned int get_sbdn(unsigned int bus); void cpuSetAMDMSR(uint8_t node_id); typedef void (*process_ap_t) (u32 apicid, void *gp); diff --git a/src/cpu/via/nano/microcode_blob.c b/src/cpu/via/nano/microcode_blob.c index 97a773d22b..49866428d5 100644 --- a/src/cpu/via/nano/microcode_blob.c +++ b/src/cpu/via/nano/microcode_blob.c @@ -1,4 +1,4 @@ -unsigned array[3588] = +unsigned int array[3588] = { #include "../../../../3rdparty/blobs/cpu/via/nano/microcode.h" }; -- cgit v1.2.3