[U-Boot] [PATCH v2] spi: ignore set speed and mode if not available

Simon Glass sjg at chromium.org
Sun Oct 4 14:25:28 CEST 2015


On 4 October 2015 at 13:23, Thomas Chou <thomas at wytron.com.tw> wrote:
> Some cores, such as Altera SPI and QuadSPI, can not change
> speed and mode at runtime. Ignore the operation which is
> not available.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> Acked-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Jagan Teki <jteki at openedev.com>
> ---
> v2
>   add comments as Simon sugggested.
>
>  drivers/spi/spi-uclass.c | 7 ++-----
>  include/spi.h            | 5 +++++
>  2 files changed, 7 insertions(+), 5 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list