[coreboot-gerrit] New patch to review for coreboot: ab88b5b Kill ALT_CBFS_LOAD_PAYLOAD

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Wed Feb 5 14:27:41 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5132

-gerrit

commit ab88b5b382d5aa22a4fa5d0dc18a4419d757beef
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Wed Feb 5 14:27:22 2014 +0100

    Kill ALT_CBFS_LOAD_PAYLOAD
    
    Not used anymore.
    
    Change-Id: Icf3a4a7f932776981048b805478582ad2b784182
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/Kconfig    | 9 ---------
 src/lib/cbfs.c | 2 --
 2 files changed, 11 deletions(-)

diff --git a/src/Kconfig b/src/Kconfig
index 31a41ab..e6b237a 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -47,15 +47,6 @@ config CBFS_PREFIX
 	  Select the prefix to all files put into the image. It's "fallback"
 	  by default, "normal" is a common alternative.
 
-config ALT_CBFS_LOAD_PAYLOAD
-	bool "Use alternative cbfs_load_payload() implementation."
-	default n
-	help
-	 Either board or southbridge provide an alternative cbfs_load_payload()
-	 implementation. This may be used, for example, if accessing the ROM
-	 through memory-mapped I/O is slow and a faster alternative can be
-	 provided.
-
 choice
 	prompt "Compiler to use"
 	default COMPILER_GCC
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 9fe1757..30e7949 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -213,7 +213,6 @@ void * cbfs_load_stage(struct cbfs_media *media, const char *name)
 }
 #endif /* CONFIG_RELOCATABLE_RAMSTAGE */
 
-#if !CONFIG_ALT_CBFS_LOAD_PAYLOAD
 void *cbfs_load_payload(struct cbfs_media *media, const char *name)
 {
 	struct cbfs_payload *payload;
@@ -226,7 +225,6 @@ void *cbfs_load_payload(struct cbfs_media *media, const char *name)
 		media, name, CBFS_TYPE_PAYLOAD, NULL);
 	return payload;
 }
-#endif
 
 /* Simple buffer */
 



More information about the coreboot-gerrit mailing list