[PATCH] bus: ti-sysc: fix uclass driver id
Simon Glass
sjg at chromium.org
Tue Mar 16 03:28:34 CET 2021
Hi Dario,
On Tue, 16 Mar 2021 at 10:18, Dario Binacchi <dariobin at libero.it> wrote:
>
> The module defines a duplicate uclass driver for UCLASS_SIMPLE_BUS, but
> it is not allowed. This breaks of-platdata and makes the result
> non-deterministic.
> Since it must be an uclass driver to work properly, a new class id has
> been added.
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
> ---
>
> drivers/bus/ti-sysc.c | 4 ++--
> include/dm/uclass-id.h | 1 +
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
If you add a new uclass you should have a sandbox test for it.
But I actually wonder if you need to...does this work if you simply
remove your uclass driver? It should. What am I missing?
Regards,
Simon
More information about the U-Boot
mailing list