aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-05-08 04:39:23 -0600
committerSimon Glass <sjg@chromium.org>2022-06-28 03:09:52 +0100
commit53c20bebb2215caaadc58b2eee2c80c61456b93d (patch)
tree8bedcb50eb2ef1ef4e4f21d9c7d21bf0d85d6935 /tools
parentd32f62f49d338e68c2d793a9e2412677a740c89f (diff)
downloadu-boot-53c20bebb2215caaadc58b2eee2c80c61456b93d.zip
u-boot-53c20bebb2215caaadc58b2eee2c80c61456b93d.tar.gz
u-boot-53c20bebb2215caaadc58b2eee2c80c61456b93d.tar.bz2
dm: core: Switch the testbus driver to use a new struct
At present this driver uses 'priv' struct to hold 'plat' data, which is confusing. The contents of the strct don't matter, since only dtoc is using it. Create a new struct with the correct name. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/dtoc/test_dtoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/test_dtoc.py b/tools/dtoc/test_dtoc.py
index c81bcc9..8bac207 100755
--- a/tools/dtoc/test_dtoc.py
+++ b/tools/dtoc/test_dtoc.py
@@ -616,7 +616,7 @@ struct dm_test_pdata __attribute__ ((section (".priv_data")))
u8 _denx_u_boot_test_bus_priv_some_bus[sizeof(struct dm_test_priv)]
\t__attribute__ ((section (".priv_data")));
#include <dm/test.h>
-u8 _denx_u_boot_test_bus_ucplat_some_bus[sizeof(struct dm_test_uclass_priv)]
+u8 _denx_u_boot_test_bus_ucplat_some_bus[sizeof(struct dm_test_uclass_plat)]
\t__attribute__ ((section (".priv_data")));
#include <test.h>