From 76f28a3fc29b96c1c8cc76cba1279f92d2edc86e Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 26 Oct 2022 13:46:14 +1100 Subject: tree/: Rename 'internal_delay()' to 'default_delay()' The non-custom driver programmer delay implementation 'internal_delay()' is unrelated specifically to the 'internal' programmer. The delay implementation is simply a platform-agnostic host delay implementation. Therefore, rename to simply default_delay(). Change-Id: I5e04adf16812ceb1480992c92bca25ed80f8897a Signed-off-by: Edward O'Callaghan Reviewed-on: https://review.coreboot.org/c/flashrom/+/68855 Reviewed-by: Alexander Goncharov Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- dediprog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dediprog.c') diff --git a/dediprog.c b/dediprog.c index 6c41f286..723f4a80 100644 --- a/dediprog.c +++ b/dediprog.c @@ -316,7 +316,7 @@ static int dediprog_set_spi_voltage(libusb_device_handle *dediprog_handle, int m if (voltage_selector == 0) { /* Wait some time as the original driver does. */ - internal_delay(200 * 1000); + default_delay(200 * 1000); } ret = dediprog_write(dediprog_handle, CMD_SET_VCC, voltage_selector, 0, NULL, 0); if (ret != 0x0) { @@ -326,7 +326,7 @@ static int dediprog_set_spi_voltage(libusb_device_handle *dediprog_handle, int m } if (voltage_selector != 0) { /* Wait some time as the original driver does. */ - internal_delay(200 * 1000); + default_delay(200 * 1000); } return 0; } -- cgit v1.2.3