mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
3ae6030cf9
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>
21 lines
404 B
C
21 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 */
|