mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
fda6fac39b
This converts the Tegra SPI drivers to use driver model. This is tested on: - Tegra20 - trimslice - Tegra30 - beaver - Tegra124 - dalmore (not tested on Tegra124) Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
12 lines
281 B
C
12 lines
281 B
C
/*
|
|
* (C) Copyright 2014 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
struct tegra_spi_platdata {
|
|
enum periph_id periph_id;
|
|
int frequency; /* Default clock frequency, -1 for none */
|
|
ulong base;
|
|
uint deactivate_delay_us; /* Delay to wait after deactivate */
|
|
};
|