summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/northcluster.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-26 22:31:45 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-02 12:03:04 +0000
commit31d6cd74951f3b0dcc56ec87f95daffea3a2bd63 (patch)
tree2e94a99296efdf212112192fa2cd7aa361d02d3c /src/soc/intel/braswell/northcluster.c
parent3a713c006078d8bae85399cbbaf24323a19ca4cf (diff)
downloadcoreboot-31d6cd74951f3b0dcc56ec87f95daffea3a2bd63.tar.xz
soc/intel/braswell/northcluster.c: Tidy up long lines
These now fit in 96 characters. Tested with BUILD_TIMELESS=1, Facebook fbg1701 remains identical. Change-Id: I4275c81d22c03c461c184f26367db80b828033a9 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43932 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel/braswell/northcluster.c')
-rw-r--r--src/soc/intel/braswell/northcluster.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c
index 98e10fc0d2..0b47e2f0c3 100644
--- a/src/soc/intel/braswell/northcluster.c
+++ b/src/soc/intel/braswell/northcluster.c
@@ -91,8 +91,7 @@ static void nc_read_resources(struct device *dev)
/* Determine the base of the FSP reserved memory */
fsp_reserved_memory_area = cbmem_find(CBMEM_ID_FSP_RESERVED_MEMORY);
if (fsp_reserved_memory_area) {
- fsp_res_base_k =
- RES_IN_KiB((unsigned int)fsp_reserved_memory_area);
+ fsp_res_base_k = RES_IN_KiB((unsigned int)fsp_reserved_memory_area);
} else {
/* If no FSP reserverd area */
fsp_res_base_k = tseg_base_k;
@@ -128,8 +127,7 @@ static void nc_read_resources(struct device *dev)
bmbound_hi = iosf_bunit_read(BUNIT_BMBOUND_HI) & ~((1 << 24) - 1);
bmbound_hi = RES_IN_KiB(bmbound_hi) << 4;
if (bmbound_hi > four_gig_kib)
- ram_resource(dev, index++, four_gig_kib,
- bmbound_hi - four_gig_kib);
+ ram_resource(dev, index++, four_gig_kib, bmbound_hi - four_gig_kib);
/*
* Reserve everything between A segment and 1MB:
@@ -138,8 +136,7 @@ static void nc_read_resources(struct device *dev)
* 0xc0000 - 0xfffff: RAM
*/
mmio_resource(dev, index++, (0xa0000 >> 10), (0xc0000 - 0xa0000) >> 10);
- reserved_ram_resource(dev, index++, (0xc0000 >> 10),
- (0x100000 - 0xc0000) >> 10);
+ reserved_ram_resource(dev, index++, (0xc0000 >> 10), (0x100000 - 0xc0000) >> 10);
/*
* Reserve local APIC