From 0d4b11a4f8ccf64fb1a8272a0cd2e4833e54d90e Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 3 Oct 2016 21:57:21 +0200 Subject: src/northbridge: Remove whitespace after sizeof Change-Id: Iea0352f85f4d5f47fc906edbe625e7bbf3f03afd Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16863 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/northbridge/intel/fsp_sandybridge/acpi.c | 2 +- src/northbridge/intel/nehalem/acpi.c | 2 +- src/northbridge/intel/sandybridge/acpi.c | 2 +- src/northbridge/intel/sandybridge/raminit.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/northbridge/intel') diff --git a/src/northbridge/intel/fsp_sandybridge/acpi.c b/src/northbridge/intel/fsp_sandybridge/acpi.c index 499d96fef2..7744fea5d0 100644 --- a/src/northbridge/intel/fsp_sandybridge/acpi.c +++ b/src/northbridge/intel/fsp_sandybridge/acpi.c @@ -201,7 +201,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/nehalem/acpi.c b/src/northbridge/intel/nehalem/acpi.c index 3471282984..1a02e7bb5e 100644 --- a/src/northbridge/intel/nehalem/acpi.c +++ b/src/northbridge/intel/nehalem/acpi.c @@ -200,7 +200,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/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); -- cgit v1.2.3