[PATCH v4 08/42] dm: core: Skip adding uclasses with OF_PLATDATA_INST

Simon Glass sjg at chromium.org
Wed Mar 17 02:28:49 CET 2021


There is no need to ever add new uclasses since these are set up at build
time. Update the code to return an error if this is attempted.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 drivers/core/uclass.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list