u-boot/drivers/core
Simon Glass 3346c87625 dm: Improve handling of a missing uclass
When a uclass definition is missing, no drivers in that uclass can operate.
This can happen if a board has a strange collection of options (e.g. the
driver is enabled but the uclass is not).

Unfortunately this is very confusing at present. Starting up driver model
results in a -ENOENT error, which is pretty generic. Quite a big of digging
is needed to get to the root cause.

To help with this, change the error to a very strange one with no other
users in U-Boot. Also add a debug message.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-09-02 21:28:23 -06:00
..
device-remove.c devres: introduce Devres (Managed Device Resource) framework 2015-08-06 07:44:29 -06:00
device.c dm: Improve handling of a missing uclass 2015-09-02 21:28:23 -06:00
devres.c devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
Kconfig dm: core: Add Kconfig for simple bus driver 2015-08-31 07:57:26 -06:00
lists.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
Makefile dm: core: Add Kconfig for simple bus driver 2015-08-31 07:57:26 -06:00
regmap.c dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
root.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
simple-bus.c dm: Support address translation for simple-bus 2015-08-06 07:44:28 -06:00
syscon-uclass.c dm: core: Add device checking to syscon_get_regmap() 2015-07-21 17:39:33 -06:00
uclass.c dm: Improve handling of a missing uclass 2015-09-02 21:28:23 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00