aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/vexpress.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-04-29 15:58:23 -0500
committerRob Herring <robh@kernel.org>2020-05-13 12:42:46 -0500
commit310f80d61717425fbf799ef0ff0926e64cd57d9c (patch)
tree965616393ac7ab8bb40e721ffcdb0df4ce0b04ae /include/linux/vexpress.h
parentbus: vexpress-config: simplify config bus probing (diff)
downloadwireguard-linux-310f80d61717425fbf799ef0ff0926e64cd57d9c.tar.xz
wireguard-linux-310f80d61717425fbf799ef0ff0926e64cd57d9c.zip
vexpress: Move setting master site to vexpress-config bus
There's only a single caller of vexpress_config_set_master() from vexpress-sysreg.c. Let's just make the registers needed available to vexpress-config and move all the code there. The registers needed aren't used anywhere else either. With this, we can get rid of the private API between these 2 drivers. Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/vexpress.h')
-rw-r--r--include/linux/vexpress.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/vexpress.h b/include/linux/vexpress.h
index 65096c792d57..2f9dd072f11f 100644
--- a/include/linux/vexpress.h
+++ b/include/linux/vexpress.h
@@ -10,15 +10,6 @@
#include <linux/device.h>
#include <linux/regmap.h>
-#define VEXPRESS_SITE_MB 0
-#define VEXPRESS_SITE_DB1 1
-#define VEXPRESS_SITE_DB2 2
-#define VEXPRESS_SITE_MASTER 0xf
-
-/* Config infrastructure */
-
-void vexpress_config_set_master(u32 site);
-
/* Config regmap API */
struct regmap *devm_regmap_init_vexpress_config(struct device *dev);