summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2021-03-16 21:51:44 +0100
committerSimon Glass <sjg@chromium.org>2021-03-22 19:23:27 +1300
commit929e9940b0e4b9d7dfb0668ae1d7ce76a247b1e8 (patch)
treeb07f82d81aea02c3caca43c05da0010f8db7d2b0 /drivers
parentd392d32fd8d5fb28cd5c5888cd303e57a507dda9 (diff)
downloadu-boot-929e9940b0e4b9d7dfb0668ae1d7ce76a247b1e8.tar.gz
u-boot-929e9940b0e4b9d7dfb0668ae1d7ce76a247b1e8.tar.xz
u-boot-929e9940b0e4b9d7dfb0668ae1d7ce76a247b1e8.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bus/ti-sysc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index 4e3d610300..778c0654f6 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -148,12 +148,6 @@ clocks_err:
return err;
}
-UCLASS_DRIVER(ti_sysc) = {
- .id = UCLASS_SIMPLE_BUS,
- .name = "ti_sysc",
- .post_bind = dm_scan_fdt_dev
-};
-
U_BOOT_DRIVER(ti_sysc) = {
.name = "ti_sysc",
.id = UCLASS_SIMPLE_BUS,