diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-08-12 16:08:05 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-08-12 16:08:05 +0000 |
commit | 109ab317e7544c3290700b83240849629d769494 (patch) | |
tree | 8eee0ef8d269e21ecb2d585c74f35c85982aeeef /src/southbridge/intel/i82801gx/i82801gx_azalia.c | |
parent | fd4519b5ef086fbec60041570c6c9d73d6a80a79 (diff) | |
download | coreboot-109ab317e7544c3290700b83240849629d769494.tar.xz |
drop extra whitespace at end of line for i945 + ICH7 (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4538 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/i82801gx/i82801gx_azalia.c')
-rw-r--r-- | src/southbridge/intel/i82801gx/i82801gx_azalia.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/southbridge/intel/i82801gx/i82801gx_azalia.c b/src/southbridge/intel/i82801gx/i82801gx_azalia.c index d0f351413c..1435866100 100644 --- a/src/southbridge/intel/i82801gx/i82801gx_azalia.c +++ b/src/southbridge/intel/i82801gx/i82801gx_azalia.c @@ -45,8 +45,8 @@ static int set_bits(u8 * port, u32 mask, u32 val) reg32 |= val; writel(reg32, port); - /* Wait for readback of register to - * match what was just written to it + /* Wait for readback of register to + * match what was just written to it */ count = 50; do { @@ -67,11 +67,11 @@ static int codec_detect(u8 * base) u32 reg32; /* Set Bit0 to 0 to enter reset state (BAR + 0x8)[0] */ - if (set_bits(base + 0x08, 1, 0) == -1) + if (set_bits(base + 0x08, 1, 0) == -1) goto no_codec; /* Set Bit 0 to 1 to exit reset state (BAR + 0x8)[0] */ - if (set_bits(base + 0x08, 1, 1) == -1) + if (set_bits(base + 0x08, 1, 1) == -1) goto no_codec; /* Read in Codec location (BAR + 0xe)[2..0]*/ @@ -79,7 +79,7 @@ static int codec_detect(u8 * base) reg32 &= 0x0f; if (!reg32) goto no_codec; - + return reg32; no_codec: @@ -161,7 +161,7 @@ static u32 cim_verb_data[] = { static unsigned find_verb(struct device *dev, u32 viddid, u32 ** verb) { config_t *config = dev->chip_info; - + if (config == NULL) { printk_err("\ni82801gx_azalia: Not mentioned in mainboard's Config.lb!\n"); return 0; @@ -309,7 +309,7 @@ static void azalia_init(struct device *dev) // VCi Resource Control reg32 = pci_mmio_read_config32(dev, 0x120); - reg32 |= (1 << 31); + reg32 |= (1 << 31); reg32 |= (1 << 24); // VCi ID reg32 |= (0x80 << 0); // VCi map pci_mmio_write_config32(dev, 0x120, reg32); |