mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
![Jagan Teki](/assets/img/avatar_default.png)
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>
16 lines
301 B
C
16 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 */
|