summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-26 22:35:12 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-02 12:03:21 +0000
commit7bef2eeb8e36c4e12327088c400f7458d40312ec (patch)
treec64273c128141e4e16f2bca782275bf49dec4388
parent31d6cd74951f3b0dcc56ec87f95daffea3a2bd63 (diff)
soc/intel/baytrail/northcluster.c: Tidy up long lines
These now fit in 96 characters. Tested with BUILD_TIMELESS=1, Google Ninja does not change. Change-Id: I7e1dc0126fa4d64f75e686d68c4f70f7109c6da0 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43933 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
-rw-r--r--src/soc/intel/baytrail/northcluster.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/soc/intel/baytrail/northcluster.c b/src/soc/intel/baytrail/northcluster.c
index c5afa426f6..3cf7717d5c 100644
--- a/src/soc/intel/baytrail/northcluster.c
+++ b/src/soc/intel/baytrail/northcluster.c
@@ -106,8 +106,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:
*
@@ -115,8 +114,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);
if (CONFIG(CHROMEOS))
chromeos_reserve_ram_oops(dev, index++);