首页 > TAG信息列表 > udevice

u-boot dm驱动模型-udevice和driver

设备 /* SPDX-License-Identifier: GPL-2.0+ */ /*  * Copyright (c) 2013 Google, Inc  *  * (C) Copyright 2012  * Pavel Herrmann <morpheus.ibis@gmail.com>  * Marek Vasut <marex@denx.de>  */ #ifndef _DM_DEVICE_H #define _DM_DEVICE_H #include <d

uboot驱动模型(DM)uboot驱动模型(DM)

http://betheme.net/news/txtlist_i88327v.html   两个关键宏U_BOOT_DRIVER及U_BOOT_DEVICES的作用   static const struct driver_info root_info = { .name = "root_driver", }; /* This is the root driver - all drivers are children of this */U_BOOT_DRIV