mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 22:56:49 +08:00
b953ec2bca
Define LOG_CATEGORY for all uclass to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
17 lines
272 B
C
17 lines
272 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (c) 2014 Google, Inc
|
|
*/
|
|
|
|
#define LOG_CATEGORY UCLASS_SPI_EMUL
|
|
|
|
#include <common.h>
|
|
#include <dm.h>
|
|
#include <spi.h>
|
|
#include <spi_flash.h>
|
|
|
|
UCLASS_DRIVER(spi_emul) = {
|
|
.id = UCLASS_SPI_EMUL,
|
|
.name = "spi_emul",
|
|
};
|