include/spi-generic: Append unit to macro names
This patch appends a unit (milliseconds) to time-out macro names for better understanding the code which is using the macros. Change-Id: Ibc4beda2660a83fd5f0ed325b2ee3148c6d96639 Signed-off-by: Uwe Poeche <uwe.poeche@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34384 Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		| @@ -270,7 +270,8 @@ static int eon_write(const struct spi_flash *flash, | ||||
| 			goto out; | ||||
| 		} | ||||
|  | ||||
| 		ret = spi_flash_cmd_wait_ready(flash, SPI_FLASH_PROG_TIMEOUT); | ||||
| 		ret = spi_flash_cmd_wait_ready(flash, | ||||
| 				SPI_FLASH_PROG_TIMEOUT_MS); | ||||
| 		if (ret) { | ||||
| 			printk(BIOS_WARNING, "SF: EON Page Program timeout\n"); | ||||
| 			goto out; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user