]> git.sur5r.net Git - u-boot/commit
dm: Add base driver model support
authorSimon Glass <sjg@chromium.org>
Wed, 26 Feb 2014 22:59:18 +0000 (15:59 -0700)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 17:15:29 +0000 (12:15 -0500)
commit6494d708bfc630ac0585d5a81707442ebf578eac
tree09d66a1cd996b9843c644b8029496ddcfcdac1f5
parent65c70539e5f1e63921a7fcb86c0ca1f838f96037
dm: Add base driver model support

Add driver model functionality for generic board.

This includes data structures and base code for registering devices and
uclasses (groups of devices with the same purpose, e.g. all I2C ports will
be in the same uclass).

The feature is enabled with CONFIG_DM.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Viktor Křivák <viktor.krivak@gmail.com>
Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
18 files changed:
Makefile
drivers/core/Makefile [new file with mode: 0644]
drivers/core/device.c [new file with mode: 0644]
drivers/core/lists.c [new file with mode: 0644]
drivers/core/root.c [new file with mode: 0644]
drivers/core/uclass.c [new file with mode: 0644]
drivers/core/util.c [new file with mode: 0644]
include/asm-generic/global_data.h
include/dm.h [new file with mode: 0644]
include/dm/device-internal.h [new file with mode: 0644]
include/dm/device.h [new file with mode: 0644]
include/dm/lists.h [new file with mode: 0644]
include/dm/platdata.h [new file with mode: 0644]
include/dm/root.h [new file with mode: 0644]
include/dm/uclass-id.h [new file with mode: 0644]
include/dm/uclass-internal.h [new file with mode: 0644]
include/dm/uclass.h [new file with mode: 0644]
include/dm/util.h [new file with mode: 0644]