coreboot/src/drivers/spi
Nico Huber 41feb32559 region: Turn region_end() into an inclusive region_last()
The current region_end() implementation is susceptible to overflow
if the region is at the end of the addressable space. A common case
with the memory-mapped flash of x86 directly below the 32-bit limit.

Note: This patch also changes console output to inclusive limits.
IMO, to the better.

Change-Id: Ic4bd6eced638745b7e845504da74542e4220554a
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79946
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2024-08-23 01:08:16 +00:00
..
acpi drivers/spi/acpi: Update generic property list 2024-07-04 14:04:05 +00:00
tpm tpm: Add Ti50 OpenTitan DID_VID 2024-06-14 12:33:31 +00:00
adesto.c
amic.c
atmel.c
bitbang.c src/drivers: Clean up includes 2022-10-26 16:38:45 +00:00
boot_device_rw_nommap.c
cbfs_spi.c drivers: Remove unused <cbmem.h> 2022-04-22 21:40:56 +00:00
eon.c
flashconsole.c
gigadevice.c drivers/spi: Add support for GD25LR512ME flash rom 2024-03-17 16:50:25 +00:00
issi.c tree: Drop unused <delay.h> 2024-04-09 22:23:16 +00:00
Kconfig drivers/spi: Add ISSI IS25WP256D flash 2023-12-18 20:27:52 +00:00
macronix.c drivers/spi: Add support for Macronix SPI ROM MX77U25650F 2022-11-10 15:14:26 +00:00
Makefile.mk driver/parade to /driver/wwan: Rename Makefiles from .inc to .mk 2024-01-24 10:04:33 +00:00
spansion.c
spi-generic.c drivers/ipmi to lib: Fix misspellings & capitalization issues 2023-12-13 10:42:30 +00:00
spi_flash.c region: Introduce region_create() functions 2024-08-11 17:07:32 +00:00
spi_flash_internal.h drivers/spi: Add ISSI IS25WP256D flash 2023-12-18 20:27:52 +00:00
spi_sdcard.c drivers/ipmi to lib: Fix misspellings & capitalization issues 2023-12-13 10:42:30 +00:00
spi_winbond.h
spiconsole.c
sst.c
stmicro.c
winbond.c region: Turn region_end() into an inclusive region_last() 2024-08-23 01:08:16 +00:00