mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
ba3c22bf18
Davanci spi driver has DM support already, this patch add support for platdata so-that SPL can use it for low foot-print. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Adam Ford <aford173@gmail.com>
15 lines
301 B
C
15 lines
301 B
C
/*
|
|
* Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __spi_davinci_h
|
|
#define __spi_davinci_h
|
|
|
|
struct davinci_spi_platdata {
|
|
struct davinci_spi_regs *regs;
|
|
u8 num_cs; /* total no. of CS available */
|
|
};
|
|
|
|
#endif /* __spi_davinci_h */
|