aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-05 09:27:53 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-07 21:53:23 +0000
commitd30d9a27dce0456e586f59f4d1add99d19c0ac35 (patch)
tree161668887b3b165d954c78b3796d803b35a6db32
parent996bab4a2096d47be0a60e9930f0b10d62eec5ed (diff)
src: Remove redundant include <rules.h>
Change-Id: Ie4692246d059734bb5bad6c64042b64068636ab6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50300 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/arch/riscv/romstage.c1
-rw-r--r--src/drivers/intel/fsp1_1/include/fsp/util.h1
-rw-r--r--src/soc/amd/common/block/psp/psp_smm.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/riscv/romstage.c b/src/arch/riscv/romstage.c
index 5146b0e55f..c7340b2719 100644
--- a/src/arch/riscv/romstage.c
+++ b/src/arch/riscv/romstage.c
@@ -9,7 +9,6 @@
#include <arch/stages.h>
#include <arch/smp/smp.h>
-#include <rules.h>
#include <mcall.h>
void stage_entry(int hart_id, void *fdt)
diff --git a/src/drivers/intel/fsp1_1/include/fsp/util.h b/src/drivers/intel/fsp1_1/include/fsp/util.h
index cab867a68d..e67ecd16d0 100644
--- a/src/drivers/intel/fsp1_1/include/fsp/util.h
+++ b/src/drivers/intel/fsp1_1/include/fsp/util.h
@@ -3,7 +3,6 @@
#ifndef FSP1_1_UTIL_H
#define FSP1_1_UTIL_H
-#include <rules.h>
#include <arch/cpu.h>
#include <fsp/api.h>
/* Current users expect to get the SoC's FSP definitions by including util.h. */
diff --git a/src/soc/amd/common/block/psp/psp_smm.c b/src/soc/amd/common/block/psp/psp_smm.c
index 7c156169a8..95c3e4ef1b 100644
--- a/src/soc/amd/common/block/psp/psp_smm.c
+++ b/src/soc/amd/common/block/psp/psp_smm.c
@@ -4,7 +4,6 @@
#include <cpu/x86/msr.h>
#include <cpu/amd/msr.h>
#include <region_file.h>
-#include <rules.h>
#include <console/console.h>
#include <amdblocks/psp.h>
#include <soc/iomap.h>