summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-02-05 14:27:22 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-02-25 20:03:49 +0100
commitcf6c9cc29cedfd533da8cfaa8481560bce739097 (patch)
treee7e807cd0b612907926fddb60ab0bdeaa8b6dfcc
parent58fdb4fe15f949745b31f1d8136226ab88f7271d (diff)
downloadcoreboot-cf6c9cc29cedfd533da8cfaa8481560bce739097.tar.xz
Kill ALT_CBFS_LOAD_PAYLOAD
Not used anymore. Change-Id: Icf3a4a7f932776981048b805478582ad2b784182 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5132 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--src/Kconfig9
-rw-r--r--src/lib/cbfs.c2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/Kconfig b/src/Kconfig
index bb25afd1dc..4040705f20 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 f2a2587669..99eeac8aab 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -160,7 +160,6 @@ void * cbfs_load_stage(struct cbfs_media *media, const char *name)
return (void *) entry;
}
-#if !CONFIG_ALT_CBFS_LOAD_PAYLOAD
void *cbfs_load_payload(struct cbfs_media *media, const char *name)
{
struct cbfs_payload *payload;
@@ -173,7 +172,6 @@ void *cbfs_load_payload(struct cbfs_media *media, const char *name)
media, name, CBFS_TYPE_PAYLOAD, NULL);
return payload;
}
-#endif
/* Simple buffer */