Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 10a4a33 | 2014-10-13 23:41:53 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2014 Google, Inc |
Simon Glass | 10a4a33 | 2014-10-13 23:41:53 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
Patrick Delaunay | 8131335 | 2021-04-27 11:02:19 +0200 | [diff] [blame] | 6 | #define LOG_CATEGORY UCLASS_SPI_EMUL |
| 7 | |
Simon Glass | 10a4a33 | 2014-10-13 23:41:53 -0600 | [diff] [blame] | 8 | #include <common.h> |
| 9 | #include <dm.h> |
| 10 | #include <spi.h> |
| 11 | #include <spi_flash.h> |
| 12 | |
| 13 | UCLASS_DRIVER(spi_emul) = { |
| 14 | .id = UCLASS_SPI_EMUL, |
| 15 | .name = "spi_emul", |
| 16 | }; |