From 4f43b0e7adb7f4699bae7b9a2f2fac2e797e9c4c Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Thu, 1 Feb 2024 13:30:00 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80302 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/drivers/intel/fsp2_0/debug.c | 6 ------ src/drivers/intel/fsp2_0/include/fsp/debug.h | 9 --------- 2 files changed, 15 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/intel/fsp2_0/debug.c b/src/drivers/intel/fsp2_0/debug.c index 8c0d67daeb..4cd309e7e7 100644 --- a/src/drivers/intel/fsp2_0/debug.c +++ b/src/drivers/intel/fsp2_0/debug.c @@ -7,12 +7,6 @@ #include #include -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 044ce95e5a..dc5557e231 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_hob_type_name(const struct hob_header *hob); 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 */ -- cgit v1.2.3