From c2ffc6739cd94d996e8c11669031c101455eab90 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Kollasch" Date: Mon, 1 Aug 2011 14:15:28 -0500 Subject: Use preferred style of fixed-width integer types Change-Id: I1abaaa2af4de940584039f9b8c348bb57fb611e0 Signed-off-by: Jonathan A. Kollasch Reviewed-on: http://review.coreboot.org/125 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Peter Stuge --- src/mainboard/msi/ms7135/mptable.c | 2 +- src/mainboard/msi/ms7135/romstage.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mainboard/msi/ms7135/mptable.c b/src/mainboard/msi/ms7135/mptable.c index fc1caa5c67..341214539d 100644 --- a/src/mainboard/msi/ms7135/mptable.c +++ b/src/mainboard/msi/ms7135/mptable.c @@ -52,7 +52,7 @@ static void *smp_write_config_table(void *v) { device_t dev; struct resource *res; - uint32_t dword; + u32 dword; dev = dev_find_slot(bus_ck804[0], PCI_DEVFN(sbdn + 0x1, 0)); if (dev) { diff --git a/src/mainboard/msi/ms7135/romstage.c b/src/mainboard/msi/ms7135/romstage.c index 8609142f18..5feef79625 100644 --- a/src/mainboard/msi/ms7135/romstage.c +++ b/src/mainboard/msi/ms7135/romstage.c @@ -68,8 +68,8 @@ static inline int spd_read_byte(unsigned device, unsigned address) static void sio_setup(void) { - uint32_t dword; - uint8_t byte; + u32 dword; + u8 byte; /* Subject decoding */ byte = pci_read_config8(PCI_DEV(0, CK804_DEVN_BASE + 1, 0), 0x7b); @@ -85,7 +85,7 @@ static void sio_setup(void) void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) { - static const uint16_t spd_addr[] = { + static const u16 spd_addr[] = { DIMM0, DIMM1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- cgit v1.2.3