mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-16 23:18:51 +09:00
![Jagan Teki](/assets/img/avatar_default.png)
Rename platform_data include file as spi_pl022.h from pl022_spi.h, this is generic notation used for spi platdata include files. Acked-by: Quentin Schulz <quentin.schulz@bootlin.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
22 lines
404 B
C
22 lines
404 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2018
|
|
* Quentin Schulz, Bootlin, quentin.schulz@bootlin.com
|
|
*
|
|
* Structure for use with U_BOOT_DEVICE for pl022 SPI devices or to use
|
|
* in ofdata_to_platdata.
|
|
*/
|
|
|
|
#ifndef __spi_pl022_h
|
|
#define __spi_pl022_h
|
|
|
|
#include <fdtdec.h>
|
|
|
|
struct pl022_spi_pdata {
|
|
fdt_addr_t addr;
|
|
fdt_size_t size;
|
|
unsigned int freq;
|
|
};
|
|
|
|
#endif /* __spi_pl022_h */
|