summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/psp/Kconfig8
-rw-r--r--src/soc/amd/common/block/psp/Makefile.inc5
-rw-r--r--src/soc/amd/common/block/psp/efs_fmap_check.c9
3 files changed, 0 insertions, 22 deletions
diff --git a/src/soc/amd/common/block/psp/Kconfig b/src/soc/amd/common/block/psp/Kconfig
index aa638b8911..84e021577a 100644
--- a/src/soc/amd/common/block/psp/Kconfig
+++ b/src/soc/amd/common/block/psp/Kconfig
@@ -29,14 +29,6 @@ config SOC_AMD_PSP_SELECTABLE_SMU_FW
fanned set of blobs. Ask your AMD representative whether your APU
is considered fanless.
-config AMD_SOC_SEPARATE_EFS_SECTION
- bool
- help
- Use separate EFS FMAP section instead of putting EFS into CBFS. The
- FMAP section must begin exactly at the location the EFS needs to be
- placed in the flash. This option can be used to place the EFS right
- after the 128kByte EC firmware at the beginning of the flash.
-
config SOC_AMD_COMMON_BLOCK_PSP_FUSE_SPL
bool
default n
diff --git a/src/soc/amd/common/block/psp/Makefile.inc b/src/soc/amd/common/block/psp/Makefile.inc
index 41f6ee2521..5dd7fdd941 100644
--- a/src/soc/amd/common/block/psp/Makefile.inc
+++ b/src/soc/amd/common/block/psp/Makefile.inc
@@ -8,11 +8,6 @@ smm-y += psp_smm.c
bootblock-y += psp_efs.c
verstage-y += psp_efs.c
-ifeq ($(CONFIG_AMD_SOC_SEPARATE_EFS_SECTION),y)
-bootblock-y += efs_fmap_check.c
-$(call src-to-obj,bootblock,$(dir)/efs_fmap_check.c) : $(obj)/fmap_config.h
-endif # CONFIG_AMD_SOC_SEPARATE_EFS_SECTION
-
endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP
ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1),y)
diff --git a/src/soc/amd/common/block/psp/efs_fmap_check.c b/src/soc/amd/common/block/psp/efs_fmap_check.c
deleted file mode 100644
index 44dfe70ee0..0000000000
--- a/src/soc/amd/common/block/psp/efs_fmap_check.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <amdblocks/psp_efs.h>
-#include <assert.h>
-#include <fmap_config.h>
-#include <soc/iomap.h>
-
-_Static_assert(FMAP_SECTION_EFS_START == (FLASH_BASE_ADDR + EFS_OFFSET),
- "FMAP EFS Offset does not match EFS Offset - check your config");