Attention is currently required from: Andrey Petrov, Ronak Kanabar.
Jérémy Compostella has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80302?usp=email )
Change subject: drivers/intel/fsp2_0: Remove unused function fsp_write_line ......................................................................
drivers/intel/fsp2_0: Remove unused function fsp_write_line
This is just a clean-up commit.
Change-Id: If0397f5cc8d0f4f1872bd37a001fe42e0c37ec97 Signed-off-by: Jeremy Compostella jeremy.compostella@intel.com --- M src/drivers/intel/fsp2_0/debug.c M src/drivers/intel/fsp2_0/include/fsp/debug.h 2 files changed, 0 insertions(+), 15 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/80302/1
diff --git a/src/drivers/intel/fsp2_0/debug.c b/src/drivers/intel/fsp2_0/debug.c index 8c0d67d..4cd309e 100644 --- a/src/drivers/intel/fsp2_0/debug.c +++ b/src/drivers/intel/fsp2_0/debug.c @@ -7,12 +7,6 @@ #include <fsp/debug.h> #include <fsp/util.h>
-asmlinkage size_t fsp_write_line(uint8_t *buffer, size_t number_of_bytes) -{ - console_write_line(buffer, number_of_bytes); - return number_of_bytes; -} - enum fsp_call_phase { BEFORE_FSP_CALL, AFTER_FSP_CALL, diff --git a/src/drivers/intel/fsp2_0/include/fsp/debug.h b/src/drivers/intel/fsp2_0/include/fsp/debug.h index 044ce95..dc5557e 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/debug.h +++ b/src/drivers/intel/fsp2_0/include/fsp/debug.h @@ -58,15 +58,6 @@ const char *fsp_get_guid_name(const uint8_t *guid); void fsp_print_guid_extension_hob(const struct hob_header *hob);
-/* - * Writes number_of_bytes data bytes from buffer to the console. - * The number of bytes actually written to the console is returned. - * - * If number_of_bytes is zero, don't output any data but instead wait until - * the console has output all data, then return 0. - */ -asmlinkage size_t fsp_write_line(uint8_t *buffer, size_t number_of_bytes); - /* Callback to snapshot all GPIO configurations. */ void gpio_snapshot(void); /* Callback to verify that current GPIO configuration matches the saved snapshot */