diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-09-20 17:38:38 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-09-25 14:12:43 +0000 |
commit | b60920df52afd16e0b203313409951e41e0c49c0 (patch) | |
tree | 70dd1db65378147b0431209c97e79e113341fb67 /src/northbridge/intel/e7505 | |
parent | dd35e2c8a9ee7e1d9b2442b7059d8f9de6256da5 (diff) |
northbridge: Use 'unsigned int' to bare use of 'unsigned'
Change-Id: Ib70eb33fac654a773ea39a5fd4206435dffdabb7
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28702
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/intel/e7505')
-rw-r--r-- | src/northbridge/intel/e7505/northbridge.c | 4 | ||||
-rw-r--r-- | src/northbridge/intel/e7505/raminit.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/intel/e7505/northbridge.c b/src/northbridge/intel/e7505/northbridge.c index 6d351a3117..a5dc6cdf32 100644 --- a/src/northbridge/intel/e7505/northbridge.c +++ b/src/northbridge/intel/e7505/northbridge.c @@ -75,8 +75,8 @@ static void mch_domain_set_resources(struct device *dev) assign_resources(dev->link_list); } -static void intel_set_subsystem(struct device *dev, - unsigned vendor, unsigned device) +static void intel_set_subsystem(struct device *dev, unsigned int vendor, + unsigned int device) { pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID, ((device & 0xffff) << 16) | (vendor & 0xffff)); diff --git a/src/northbridge/intel/e7505/raminit.h b/src/northbridge/intel/e7505/raminit.h index eae8935163..1581b826b8 100644 --- a/src/northbridge/intel/e7505/raminit.h +++ b/src/northbridge/intel/e7505/raminit.h @@ -35,6 +35,6 @@ int e7505_mch_is_ready(void); /* Mainboard exports this. */ -int spd_read_byte(unsigned device, unsigned address); +int spd_read_byte(unsigned int device, unsigned int address); #endif /* RAMINIT_H */ |