1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
6 #define LOG_CATEGORY UCLASS_MTD
10 #include <dm/device-internal.h>
15 * Implement a MTD uclass which should include most flash drivers.
16 * The uclass private is pointed to mtd_info.
19 UCLASS_DRIVER(mtd) = {
22 .per_device_auto = sizeof(struct mtd_info),