aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/hp/dl165_g6_fam10
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/hp/dl165_g6_fam10')
-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
3 files changed, 5 insertions, 5 deletions
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