From ad0f4853619b1c239b8ace7554958c6b4932c04f Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 23 Oct 2019 21:41:43 -0600 Subject: src/mainboard: change "unsigned" to "unsigned int" Signed-off-by: Martin Roth Change-Id: I46d131f76ec930d2ef0f74e6eaabae067df10754 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36330 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/mainboard/hp/abm/mptable.c | 2 +- src/mainboard/hp/dl165_g6_fam10/bootblock.c | 4 ++-- src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c | 2 +- src/mainboard/hp/dl165_g6_fam10/mb_sysconf.h | 4 ++-- src/mainboard/hp/pavilion_m6_1035dx/mptable.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/mainboard/hp') diff --git a/src/mainboard/hp/abm/mptable.c b/src/mainboard/hp/abm/mptable.c index c87749e2d4..75d026e00a 100644 --- a/src/mainboard/hp/abm/mptable.c +++ b/src/mainboard/hp/abm/mptable.c @@ -39,7 +39,7 @@ u8 intr_data[0x54] = { 0x10,0x11,0x12,0x13 }; -static void smp_add_mpc_entry(struct mp_config_table *mc, unsigned length) +static void smp_add_mpc_entry(struct mp_config_table *mc, unsigned int length) { mc->mpc_length += length; mc->mpc_entry_count++; diff --git a/src/mainboard/hp/dl165_g6_fam10/bootblock.c b/src/mainboard/hp/dl165_g6_fam10/bootblock.c index 16908cf704..b70b0a3e24 100644 --- a/src/mainboard/hp/dl165_g6_fam10/bootblock.c +++ b/src/mainboard/hp/dl165_g6_fam10/bootblock.c @@ -18,13 +18,13 @@ #define SCH4307_CONFIG_PORT 0x162e static inline void shc4307_enter_ext_func_mode(pnp_devfn_t dev) { - unsigned port = dev >> 8; + unsigned int port = dev >> 8; outb(0x55, port); } static inline void shc4307_exit_ext_func_mode(pnp_devfn_t dev) { - unsigned port = dev >> 8; + unsigned int port = dev >> 8; outb(0xaa, port); } diff --git a/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c b/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c index e217aa7138..0d8ee8c28b 100644 --- a/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c +++ b/src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c @@ -33,7 +33,7 @@ struct mb_sysconf_t mb_sysconf; void get_bus_conf(void) { - unsigned apicid_base; + unsigned int apicid_base; struct device *dev; int i; diff --git a/src/mainboard/hp/dl165_g6_fam10/mb_sysconf.h b/src/mainboard/hp/dl165_g6_fam10/mb_sysconf.h index 8b0e580057..b2a11e33f2 100644 --- a/src/mainboard/hp/dl165_g6_fam10/mb_sysconf.h +++ b/src/mainboard/hp/dl165_g6_fam10/mb_sysconf.h @@ -29,9 +29,9 @@ struct mb_sysconf_t { unsigned char bus_bcm5785_0; unsigned char bus_bcm5785_1; unsigned char bus_bcm5785_1_1; - unsigned apicid_bcm5785[3]; + unsigned int apicid_bcm5785[3]; - unsigned sbdn2; + unsigned int sbdn2; }; #endif diff --git a/src/mainboard/hp/pavilion_m6_1035dx/mptable.c b/src/mainboard/hp/pavilion_m6_1035dx/mptable.c index 08de04e4ca..0d44397be5 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/mptable.c +++ b/src/mainboard/hp/pavilion_m6_1035dx/mptable.c @@ -39,7 +39,7 @@ u8 intr_data[0x54] = { 0x10,0x11,0x12,0x13 }; -static void smp_add_mpc_entry(struct mp_config_table *mc, unsigned length) +static void smp_add_mpc_entry(struct mp_config_table *mc, unsigned int length) { mc->mpc_length += length; mc->mpc_entry_count++; -- cgit v1.2.3