From cf6c9cc29cedfd533da8cfaa8481560bce739097 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 5 Feb 2014 14:27:22 +0100 Subject: [PATCH] Kill ALT_CBFS_LOAD_PAYLOAD Not used anymore. Change-Id: Icf3a4a7f932776981048b805478582ad2b784182 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/5132 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- src/Kconfig | 9 --------- src/lib/cbfs.c | 2 -- 2 files changed, 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 */