commit | 1ef3af3b2717aba9db79879274ab5e1f1d7b2d25 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Mar 15 17:25:15 2021 +1300 |
committer | Simon Glass <sjg@chromium.org> | Mon Mar 22 19:23:28 2021 +1300 |
tree | 20db7bc4bce5c0286f955185de115d92e215a37f | |
parent | 607f9bcb0d0af57c52bacf4d3aeb3a7d389ea206 [diff] |
dm: core: Allow dropping run-time binding of devices With OF_PLATDATA_INST devices are bound at build time. We should not need binding of devices at runtime in most cases. However it is inflexible to absolutely prohibit it, so add an option to control this. Update the driver model core so that it does not bind devices. Update device_bind() to return an error if called. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>