u-boot/include/dm/platform_data/spi_davinci.h
Jagan Teki ba3c22bf18 spi: davinci: Add platdata support
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>
2018-10-10 11:35:06 +05:30

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 */