[RFC PATCH 0/2] Support UEFI SPI I/O protocol
Paul Barker
paul.barker at sancloud.com
Sat Jul 9 12:35:42 CEST 2022
Hi Heinrich,
On 08/07/2022 21:33, Heinrich Schuchardt wrote:
> Hello Paul,
>
> up to now U-Boot does not implement any part of the PI specification. Please, explain why we should implement this protocol.
Implementing this protocol allows a UEFI application to interact with a
device on the SPI bus. Similar protocols exist in the main UEFI
specification for passing commands to an NVMe or SD/eMMC device. The
code here is self-contained and easy to enable/disable at compile time.
Our goal in adding support for this protocol is to allow our UEFI
application to interact with the Micron Authenta flash device on the
SanCloud BBE Lite board and other future platforms. The application will
link against mbedtls to provide cryptographic functions so isolating our
application code in this way helps to keep the u-boot code size small.
> For all EFI protocols there should be a test that can be run in our Gitlab CI showing that it is working correctly.
I'm intending to add test cases based on the mock/sandbox SPI driver
before this is submitted as a final/non-RFC patch series. I'd like to
get some feedback on the overall approach at this stage as that will
influence how the tests interact with the implementation.
Thanks,
--
Paul Barker
Principal Software Engineer
SanCloud Ltd
e: paul.barker at sancloud.com
w: https://sancloud.com/
More information about the U-Boot
mailing list