[U-Boot] [PATCH 1/4] dm: spi: add BCM63xx HSSPI driver

Simon Glass sjg at chromium.org
Thu Jun 1 03:10:13 UTC 2017


Hi Alvaro,

On 23 May 2017 at 13:18, Álvaro Fernández Rojas <noltari at gmail.com> wrote:
> This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c
>
> Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
> ---
>  drivers/spi/Kconfig         |   8 +
>  drivers/spi/Makefile        |   1 +
>  drivers/spi/bcm63xx_hsspi.c | 392 ++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 401 insertions(+)
>  create mode 100644 drivers/spi/bcm63xx_hsspi.c

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

Suggest you add error checking to clk_enable(), etc. and split
bcm63xx_hsspi_xfer() into a few subparts as it is very long.

Regards,
Simon


More information about the U-Boot mailing list