2 * Copyright (c) 2013 Google, Inc
5 * Pavel Herrmann <morpheus.ibis@gmail.com>
6 * Marek Vasut <marex@denx.de>
8 * SPDX-License-Identifier: GPL-2.0+
11 #ifndef _DM_PLATDATA_H
12 #define _DM_PLATDATA_H
14 #include <linker_lists.h>
17 * struct driver_info - Information required to instantiate a device
20 * @platdata: Driver-specific platform data
27 #define U_BOOT_DEVICE(__name) \
28 ll_entry_declare(struct driver_info, __name, driver_info)
30 /* Declare a list of devices. The argument is a driver_info[] array */
31 #define U_BOOT_DEVICES(__name) \
32 ll_entry_declare_list(struct driver_info, __name, driver_info)