mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge branch 'master' of git://git.denx.de/u-boot-spi
- Various MTD fixes from Boris - Zap various unused / legacy paths. - pxa3xx NAND update from Miquel Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -7,22 +7,15 @@
|
||||
* in ofdata_to_platdata.
|
||||
*/
|
||||
|
||||
#ifndef __PL022_SPI_H__
|
||||
#define __PL022_SPI_H__
|
||||
#ifndef __spi_pl022_h
|
||||
#define __spi_pl022_h
|
||||
|
||||
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
#include <clk.h>
|
||||
#endif
|
||||
#include <fdtdec.h>
|
||||
|
||||
struct pl022_spi_pdata {
|
||||
fdt_addr_t addr;
|
||||
fdt_size_t size;
|
||||
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
struct clk clk;
|
||||
#else
|
||||
unsigned int freq;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif /* __spi_pl022_h */
|
||||
Reference in New Issue
Block a user