]> git.baikalelectronics.ru Git - uboot.git/commit
bus: ti-sysc: change in a normal driver
authorDario Binacchi <dariobin@libero.it>
Tue, 16 Mar 2021 20:51:44 +0000 (21:51 +0100)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:27 +0000 (19:23 +1300)
commit1160efdf53c085b0cac5bc61cb072517d4bf036f
treeb07f82d81aea02c3caca43c05da0010f8db7d2b0
parentfd072eada2a192f12e8270eba63f71223525d2bb
bus: ti-sysc: change in a normal driver

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.

The driver does not need to be an uclass driver, so lets remove it. I
had turned it into an uclass driver because I thought wrongly it had to
call the dm_scan_fdt_dev routine to work properly, but some tests on the
board have shown otherwise.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/bus/ti-sysc.c