diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2011-01-04 17:36:55 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2011-01-04 17:36:55 +0000 |
commit | 7e2fbd5dd3a9271edaf4c0b3fcc2301e10a83f8f (patch) | |
tree | 173c0fe1407396a2b492329898eb91df93dd728a /src/southbridge/nvidia/ck804/sata.c | |
parent | ecab12a09e9d38e8e6f6ce5079fbf740d2cde1a5 (diff) | |
download | coreboot-7e2fbd5dd3a9271edaf4c0b3fcc2301e10a83f8f.tar.xz |
CK804: Cosmetic fixes, switch to u8 et al.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6240 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/nvidia/ck804/sata.c')
-rw-r--r-- | src/southbridge/nvidia/ck804/sata.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/southbridge/nvidia/ck804/sata.c b/src/southbridge/nvidia/ck804/sata.c index b3ec80422d..ba4b3a710b 100644 --- a/src/southbridge/nvidia/ck804/sata.c +++ b/src/southbridge/nvidia/ck804/sata.c @@ -35,11 +35,11 @@ static void sata_com_reset(struct device *dev, unsigned reset) // reset = 1 : reset // reset = 0 : clear { - uint32_t *base; - uint32_t dword; + u32 *base; + u32 dword; int loop; - base = (uint32_t *) pci_read_config32(dev, 0x24); + base = (u32 *) pci_read_config32(dev, 0x24); printk(BIOS_DEBUG, "base = %08lx\n", base); @@ -95,7 +95,7 @@ static void sata_com_reset(struct device *dev, unsigned reset) static void sata_init(struct device *dev) { - uint32_t dword; + u32 dword; struct southbridge_nvidia_ck804_config *conf; conf = dev->chip_info; @@ -161,7 +161,6 @@ static void sata_init(struct device *dev) sata_com_reset(dev, 1); /* For discover some s-atapi device. */ #endif - } static struct device_operations sata_ops = { |