diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-10-03 21:57:21 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-10-04 14:31:53 +0200 |
commit | 0d4b11a4f8ccf64fb1a8272a0cd2e4833e54d90e (patch) | |
tree | 7152df06c4cfe90b71d1c6e1eeac2ad65da09774 /src/northbridge/intel/sandybridge | |
parent | 18cd8a64a46b85af5bf284165ce412188fc31948 (diff) | |
download | coreboot-0d4b11a4f8ccf64fb1a8272a0cd2e4833e54d90e.tar.xz |
src/northbridge: Remove whitespace after sizeof
Change-Id: Iea0352f85f4d5f47fc906edbe625e7bbf3f03afd
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16863
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/intel/sandybridge')
-rw-r--r-- | src/northbridge/intel/sandybridge/acpi.c | 2 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/sandybridge/acpi.c b/src/northbridge/intel/sandybridge/acpi.c index 4953144349..e696ac7cd0 100644 --- a/src/northbridge/intel/sandybridge/acpi.c +++ b/src/northbridge/intel/sandybridge/acpi.c @@ -203,7 +203,7 @@ void *igd_make_opregion(void) igd_opregion_t *opregion; printk(BIOS_DEBUG, "ACPI: * IGD OpRegion\n"); - opregion = cbmem_add(CBMEM_ID_IGD_OPREGION, sizeof (*opregion)); + opregion = cbmem_add(CBMEM_ID_IGD_OPREGION, sizeof(*opregion)); if (opregion) init_igd_opregion(opregion); return opregion; diff --git a/src/northbridge/intel/sandybridge/raminit.c b/src/northbridge/intel/sandybridge/raminit.c index 45bf4763b9..1e46263f93 100644 --- a/src/northbridge/intel/sandybridge/raminit.c +++ b/src/northbridge/intel/sandybridge/raminit.c @@ -370,7 +370,7 @@ static void dram_find_spds_ddr3(spd_raw_data *spd, ramctr_timing *ctrl) int channel, slot, spd_slot; dimm_info *dimm = &ctrl->info; - memset (ctrl->rankmap, 0, sizeof (ctrl->rankmap)); + memset (ctrl->rankmap, 0, sizeof(ctrl->rankmap)); ctrl->extended_temperature_range = 1; ctrl->auto_self_refresh = 1; @@ -4200,7 +4200,7 @@ void init_dram_ddr3(spd_raw_data *spds, int mobile, int min_tck, halt(); } - memset(&ctrl, 0, sizeof (ctrl)); + memset(&ctrl, 0, sizeof(ctrl)); early_pch_init_native(); early_thermal_init(); @@ -4415,7 +4415,7 @@ void perform_raminit(int s3resume) post_code(0x3a); - memset (spd, 0, sizeof (spd)); + memset (spd, 0, sizeof(spd)); mainboard_get_spd(spd); timestamp_add_now(TS_BEFORE_INITRAM); |