diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2024-02-01 13:30:00 -0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-02-05 14:07:27 +0000 |
commit | 4f43b0e7adb7f4699bae7b9a2f2fac2e797e9c4c (patch) | |
tree | 82ab0df9a2e923bb4278c6122191d78a556ba998 /src/drivers | |
parent | 63d5fc61349b923ffa51502804792d27833c3b64 (diff) |
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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80302
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/intel/fsp2_0/debug.c | 6 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/include/fsp/debug.h | 9 |
2 files changed, 0 insertions, 15 deletions
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 <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 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 */ |