diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-09-19 10:26:28 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-09-21 16:49:34 +0200 |
commit | b6a6bb53938c7e9f92237f22c52a02ab08a9d247 (patch) | |
tree | 461806c7e86c7e90d641592d90e1dd4a6b3ac54d /src/northbridge/amd/amdk8/misc_control.c | |
parent | e1606731b63bedd12398acb57a115aa5d280811e (diff) |
northbridge/amdk8: Improve code formatting
Change-Id: I1c2786dfb166904ff8b19a663c5e2e8156b7aedf
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16644
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/amd/amdk8/misc_control.c')
-rw-r--r-- | src/northbridge/amd/amdk8/misc_control.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/amd/amdk8/misc_control.c b/src/northbridge/amd/amdk8/misc_control.c index a2b4651a4a..3cbeb042dd 100644 --- a/src/northbridge/amd/amdk8/misc_control.c +++ b/src/northbridge/amd/amdk8/misc_control.c @@ -120,7 +120,7 @@ static void misc_control_init(struct device *dev) */ cmd = pci_read_config32(dev, 0x44); cmd |= (1<<6) | (1<<25); - pci_write_config32(dev, 0x44, cmd ); + pci_write_config32(dev, 0x44, cmd); #if !CONFIG_K8_REV_F_SUPPORT if (is_cpu_pre_c0()) { @@ -129,11 +129,11 @@ static void misc_control_init(struct device *dev) */ cmd = pci_read_config32(dev, 0x80); cmd &= ~(1<<0); - pci_write_config32(dev, 0x80, cmd ); + pci_write_config32(dev, 0x80, cmd); cmd = pci_read_config32(dev, 0x84); cmd &= ~(1<<24); cmd &= ~(1<<8); - pci_write_config32(dev, 0x84, cmd ); + pci_write_config32(dev, 0x84, cmd); /* Errata 66 * Limit the number of downstream posted requests to 1 @@ -142,14 +142,14 @@ static void misc_control_init(struct device *dev) if ((cmd & (3 << 0)) != 2) { cmd &= ~(3<<0); cmd |= (2<<0); - pci_write_config32(dev, 0x70, cmd ); + pci_write_config32(dev, 0x70, cmd); needs_reset = 1; } cmd = pci_read_config32(dev, 0x7c); if ((cmd & (3 << 4)) != 0) { cmd &= ~(3<<4); cmd |= (0<<4); - pci_write_config32(dev, 0x7c, cmd ); + pci_write_config32(dev, 0x7c, cmd); needs_reset = 1; } /* Clock Power/Timing Low */ @@ -175,7 +175,7 @@ static void misc_control_init(struct device *dev) } cmd = pci_read_config32(dev, 0xd4); if (cmd != cmd_ref) { - pci_write_config32(dev, 0xd4, cmd_ref ); + pci_write_config32(dev, 0xd4, cmd_ref); needs_reset = 1; /* Needed? */ } } |