diff options
author | Subrata Banik <subrata.banik@intel.com> | 2019-03-15 22:20:41 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2019-03-19 04:45:58 +0000 |
commit | b1434fce01c31e7ed3ce6623a2fae635381b0b4b (patch) | |
tree | 95335799e0b60c51a4e8a77eb084873a120387b8 /src/northbridge/amd/amdk8 | |
parent | d0e218384f2c9127f701a41b0b8add08528c1450 (diff) | |
download | coreboot-b1434fce01c31e7ed3ce6623a2fae635381b0b4b.tar.xz |
Fix 'unsigned int' to bare use of 'unsigned'
Change-Id: Iee09b601045d7785a0977a4f7ed7385b1d311044
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31913
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/northbridge/amd/amdk8')
-rw-r--r-- | src/northbridge/amd/amdk8/reset_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/amd/amdk8/reset_test.c b/src/northbridge/amd/amdk8/reset_test.c index c711ac1ad2..214aed448a 100644 --- a/src/northbridge/amd/amdk8/reset_test.c +++ b/src/northbridge/amd/amdk8/reset_test.c @@ -16,7 +16,7 @@ #include <cpu/x86/lapic.h> #include "amdk8.h" -static inline int cpu_init_detected(unsigned nodeid) +static inline int cpu_init_detected(unsigned int nodeid) { u32 htic; pci_devfn_t dev; @@ -61,7 +61,7 @@ void set_bios_reset(void) pci_io_write_config32(PCI_DEV(0, 0x18, 0), HT_INIT_CONTROL, htic); } -static unsigned node_link_to_bus(unsigned node, unsigned link) +static unsigned int node_link_to_bus(unsigned int node, unsigned int link) { u8 reg; @@ -88,7 +88,7 @@ unsigned int get_sblk(void) return ((reg>>8) & 3); } -unsigned int get_sbbusn(unsigned sblk) +unsigned int get_sbbusn(unsigned int sblk) { return node_link_to_bus(0, sblk); } |