summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc3
-rw-r--r--src/Kconfig14
2 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 3ca113be4d..e8a2d524f6 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -204,6 +204,9 @@ forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/
ifeq ($(CONFIG_PLATFORM_USES_FSP1_0)$(CONFIG_PLATFORM_USES_FSP1_1)$(CONFIG_PLATFORM_USES_FSP2_0),y)
forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp))
endif
+ifeq ($(CONFIG_USE_AMD_BLOBS),y)
+forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/amd_blobs))
+endif
endif
UPDATED_SUBMODULES:=1
COREBOOT_EXPORTS += UPDATED_SUBMODULES
diff --git a/src/Kconfig b/src/Kconfig
index 4c71f285eb..0d7c934144 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -235,6 +235,20 @@ config USE_BLOBS
might be required for some chipsets or boards.
This flag ensures that a "Free" option remains available for users.
+config USE_AMD_BLOBS
+ bool "Allow AMD blobs repository (with license agreement)"
+ depends on USE_BLOBS
+ help
+ This draws in the amd_blobs repository, which contains binary files
+ distributed by AMD, including VBIOS, PSP bootloaders, SMU firmwares,
+ etc. Selecting this item to download or clone the repo implies your
+ agreement to the AMD license agreement. A copy of the license text
+ may be reviewed by reading Documentation/soc/amd/amdblobs_license.md,
+ and your copy of the license is present in the repo once downloaded.
+
+ Note that for some products, omitting PSP, SMU images, or other items
+ may result in a nonbooting coreboot.rom.
+
config COVERAGE
bool "Code coverage support"
depends on COMPILER_GCC