[RFC PATCH 1/2] efi_loader: Add SPI I/O protocol support

2022-07-08 Thread Paul Barker
This addition allows UEFI applications running under u-boot to access peripherals on SPI busses. It is based on the UEFI Platform Initialization (PI) Specification, Version 1.7 Errata A (April 2020). Only the core functionality required to discover SPI peripherals and communicate with them is curre

Re: [RFC PATCH 1/2] efi_loader: Add SPI I/O protocol support

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 10:45:55AM +0100, Paul Barker wrote: > This addition allows UEFI applications running under u-boot to access > peripherals on SPI busses. It is based on the UEFI Platform > Initialization (PI) Specification, Version 1.7 Errata A (April 2020). > Only the core functionality r

Re: [RFC PATCH 1/2] efi_loader: Add SPI I/O protocol support

2022-07-11 Thread Ilias Apalodimas
Hi Paul On Fri, 8 Jul 2022 at 12:46, Paul Barker wrote: > > This addition allows UEFI applications running under u-boot to access > peripherals on SPI busses. It is based on the UEFI Platform > Initialization (PI) Specification, Version 1.7 Errata A (April 2020). > Only the core functionality req

Re: [RFC PATCH 1/2] efi_loader: Add SPI I/O protocol support

2022-07-11 Thread Paul Barker
On 11/07/2022 14:12, Ilias Apalodimas wrote: Hi Paul +static efi_status_t +efi_spi_bus_clock(const struct efi_spi_peripheral *spi_peripheral, + u32 *clock_hz) +{ + EFI_ENTRY("%p, %p", spi_peripheral, clock_hz); + return EFI_EXIT(EFI_UNSUPPORTED); +} + All the EFI_E