From 3b3d0853388f30868e0131741c14b4a71a82ea1b Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 1 Feb 2021 10:09:40 +0100 Subject: [PATCH] src: Remove useless comments in "includes" lines Change-Id: Ide5673dc99688422c5078c8c28ca5935fd39c854 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/50186 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/arch/arm/include/armv7/arch/mmio.h | 2 +- src/drivers/intel/dptf/chip.h | 2 +- src/drivers/intel/fsp1_1/include/fsp/romstage.h | 2 +- src/drivers/intel/fsp1_1/raminit.c | 2 +- src/lib/ramtest.c | 2 +- src/mainboard/amd/union_station/mainboard.c | 2 +- src/mainboard/google/kahlee/variants/baseboard/memory.c | 2 +- src/mainboard/lippert/frontrunner-af/sema.c | 2 +- src/northbridge/amd/agesa/family14/dimmSpd.c | 2 +- src/soc/nvidia/tegra124/include/soc/gpio.h | 2 +- src/southbridge/amd/cimx/sb800/SBPLATFORM.h | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/arch/arm/include/armv7/arch/mmio.h b/src/arch/arm/include/armv7/arch/mmio.h index 173a0a3a83..45868b573a 100644 --- a/src/arch/arm/include/armv7/arch/mmio.h +++ b/src/arch/arm/include/armv7/arch/mmio.h @@ -7,7 +7,7 @@ #ifndef __ARCH_MMIO_H__ #define __ARCH_MMIO_H__ -#include /* for dmb() */ +#include #include #include diff --git a/src/drivers/intel/dptf/chip.h b/src/drivers/intel/dptf/chip.h index db4c3aedbd..5408d9e0d5 100644 --- a/src/drivers/intel/dptf/chip.h +++ b/src/drivers/intel/dptf/chip.h @@ -4,7 +4,7 @@ #define _DRIVERS_INTEL_DPTF_CHIP_H_ #include -#include /* for MSECS_PER_SEC */ +#include #define DPTF_PASSIVE(src, tgt, tmp, prd) \ {.source = DPTF_##src, .target = DPTF_##tgt, .temp = (tmp), .period = (prd)} diff --git a/src/drivers/intel/fsp1_1/include/fsp/romstage.h b/src/drivers/intel/fsp1_1/include/fsp/romstage.h index c452f0b00d..23eadfa978 100644 --- a/src/drivers/intel/fsp1_1/include/fsp/romstage.h +++ b/src/drivers/intel/fsp1_1/include/fsp/romstage.h @@ -9,7 +9,7 @@ #include #include #include -#include /* chip_power_state */ +#include struct romstage_params { uint32_t fsp_version; diff --git a/src/drivers/intel/fsp1_1/raminit.c b/src/drivers/intel/fsp1_1/raminit.c index dd08d77e1e..4c468e5534 100644 --- a/src/drivers/intel/fsp1_1/raminit.c +++ b/src/drivers/intel/fsp1_1/raminit.c @@ -8,7 +8,7 @@ #include #include #include -#include /* hexdump */ +#include #include #include diff --git a/src/lib/ramtest.c b/src/lib/ramtest.c index 224393f6f0..45178a7e23 100644 --- a/src/lib/ramtest.c +++ b/src/lib/ramtest.c @@ -1,5 +1,5 @@ #include -#include /* Prototypes */ +#include #include #include diff --git a/src/mainboard/amd/union_station/mainboard.c b/src/mainboard/amd/union_station/mainboard.c index 88ba11125c..4b6f9a1180 100644 --- a/src/mainboard/amd/union_station/mainboard.c +++ b/src/mainboard/amd/union_station/mainboard.c @@ -3,7 +3,7 @@ #include #include #include -#include /* Platform Specific Definitions */ +#include /********************************************** * Enable the dedicated functions of the board. diff --git a/src/mainboard/google/kahlee/variants/baseboard/memory.c b/src/mainboard/google/kahlee/variants/baseboard/memory.c index 866456071f..d3d81fde36 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/memory.c +++ b/src/mainboard/google/kahlee/variants/baseboard/memory.c @@ -2,7 +2,7 @@ #include #include -#include /* src/include/gpio.h */ +#include #include #include #include diff --git a/src/mainboard/lippert/frontrunner-af/sema.c b/src/mainboard/lippert/frontrunner-af/sema.c index fb8e6ef877..e80cc1221f 100644 --- a/src/mainboard/lippert/frontrunner-af/sema.c +++ b/src/mainboard/lippert/frontrunner-af/sema.c @@ -4,7 +4,7 @@ #include #include #include -#include /* SMBUS0_BASE_ADDRESS */ +#include #include #include diff --git a/src/northbridge/amd/agesa/family14/dimmSpd.c b/src/northbridge/amd/agesa/family14/dimmSpd.c index 3ce84a46f6..d43e6a1e2f 100644 --- a/src/northbridge/amd/agesa/family14/dimmSpd.c +++ b/src/northbridge/amd/agesa/family14/dimmSpd.c @@ -2,7 +2,7 @@ #include #include -#include /* SMBUS0_BASE_ADDRESS */ +#include /* warning: Porting.h includes an open #pragma pack(1) */ #include diff --git a/src/soc/nvidia/tegra124/include/soc/gpio.h b/src/soc/nvidia/tegra124/include/soc/gpio.h index 6b66a98319..48601dd8a5 100644 --- a/src/soc/nvidia/tegra124/include/soc/gpio.h +++ b/src/soc/nvidia/tegra124/include/soc/gpio.h @@ -4,7 +4,7 @@ #define __SOC_NVIDIA_TEGRA124_GPIO_H__ #include -#include /* for pinmux constants in GPIO macro */ +#include /* GPIO index constants. */ diff --git a/src/southbridge/amd/cimx/sb800/SBPLATFORM.h b/src/southbridge/amd/cimx/sb800/SBPLATFORM.h index 99c7323033..760088632e 100644 --- a/src/southbridge/amd/cimx/sb800/SBPLATFORM.h +++ b/src/southbridge/amd/cimx/sb800/SBPLATFORM.h @@ -44,8 +44,8 @@ typedef union _PCI_ADDR { #include #include #include -#include "platform_cfg.h" /* mainboard specific configuration */ -#include /* platform default configuration */ +#include "platform_cfg.h" +#include #include //------------------------------------------------------------------------------------------------------------------------//