summaryrefslogtreecommitdiff
path: root/src/mainboard/hp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/hp')
-rw-r--r--src/mainboard/hp/abm/mptable.c2
-rw-r--r--src/mainboard/hp/dl165_g6_fam10/bootblock.c4
-rw-r--r--src/mainboard/hp/dl165_g6_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/hp/dl165_g6_fam10/mb_sysconf.h4
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/mptable.c2
5 files changed, 7 insertions, 7 deletions
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++;