• Simon Glass's avatar
    dm: Improve handling of a missing uclass · 3346c876
    Simon Glass authored
    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: default avatarSimon Glass <sjg@chromium.org>
    3346c876
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...