diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-19 10:40:03 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:24:41 -0700 |
commit | 6563b205eb65653e8fe0d3f92106ec37d28a4af7 (patch) | |
tree | e6438c8c50d3dfb64d4937fc42c61969770ec856 /drivers/core | |
parent | 332b98660f964895f05277dbbc2e0fd05d04ca9b (diff) | |
download | u-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 'drivers/core')
-rw-r--r-- | drivers/core/simple-bus.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c index 7dbcbecd94..b0c2c20958 100644 --- a/drivers/core/simple-bus.c +++ b/drivers/core/simple-bus.c @@ -5,12 +5,7 @@ #include <common.h> #include <dm.h> - -struct simple_bus_plat { - u32 base; - u32 size; - u32 target; -}; +#include <dm/simple_bus.h> fdt_addr_t simple_bus_translate(struct udevice *dev, fdt_addr_t addr) { |