summaryrefslogtreecommitdiffstats
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-19 10:40:03 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:24:41 -0700
commit6563b205eb65653e8fe0d3f92106ec37d28a4af7 (patch)
treee6438c8c50d3dfb64d4937fc42c61969770ec856 /include/dm
parent332b98660f964895f05277dbbc2e0fd05d04ca9b (diff)
downloadu-boot-6563b205eb65653e8fe0d3f92106ec37d28a4af7.tar.gz
u-boot-6563b205eb65653e8fe0d3f92106ec37d28a4af7.tar.xz
u-boot-6563b205eb65653e8fe0d3f92106ec37d28a4af7.zip
dm: core: Move priv/plat structs for simple_bus to headers
With the new of-platdata, these need to be available to dt_platdata.c so must be in header files. Move them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/simple_bus.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dm/simple_bus.h b/include/dm/simple_bus.h
new file mode 100644
index 0000000000..4ad4cc4051
--- /dev/null
+++ b/include/dm/simple_bus.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2020 Google LLC
+ */
+
+#ifndef __DM_SIMPLE_BUS_H
+#define __DM_SIMPLE_BUS_H
+
+struct simple_bus_plat {
+ u32 base;
+ u32 size;
+ u32 target;
+};
+
+#endif