On Sat, 03 Oct 2026 16:45:04 +0200, João Loureiro wrote:

> This series adds a UCLASS_SPI_EEPROM uclass, a driver for AT25-style
> parts, a sandbox emulator and a DM test.
> 
> v7 addresses Simon's review of v6 2/3 and picks up his Reviewed-by on
> patches 1 and 2. Thanks, Simon.
> 
> On the status-register read in probe(): it was diagnostic, not a
> presence check - and on SPI it cannot be one. There is no acknowledge,
> so an unpopulated socket does not make the transfer fail; MISO just
> floats and the read returns 0x00 or 0xff. The only way the read could
> fail is a controller or bus-claim error, and failing probe() for that
> was, as you say, too strong. probe() now ignores a failed read and only
> logs the value at debug level, with a comment saying why. Any real bus
> problem still surfaces on the first spi_eeprom_read().
> 
> [...]

Applied to u-boot/main, thanks!

[1/3] test: dm: sf: Get the emulator attached to the flash slave
      commit: 0d9a51b7e549dbdc688f1a1c408b55c827efe338
[2/3] spi: Introduce initial driver-model support for SPI EEPROMs
      commit: e882a98361facf5fe3c314fc508da265e0d1a004
[3/3] sandbox: spi: Add SPI EEPROM emulator and DM test
      commit: 3b748d780a37592e66b9ecba629834ae9480a3c0
-- 
Tom


Reply via email to