History

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.

Rob Herring committed 6 years ago

Commit 310f80d1 parent a5a38763 files · +34 −37Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/vexpress.h+0−9
@@ -10,15 +10,6 @@ · 9 unmodified lines
1010 #include <linux/device.h>
1111 #include <linux/regmap.h>
1212
13−#define VEXPRESS_SITE_MB 0
14−#define VEXPRESS_SITE_DB1 1
15−#define VEXPRESS_SITE_DB2 2
16−#define VEXPRESS_SITE_MASTER 0xf
17−
18−/* Config infrastructure */
19−
20−void vexpress_config_set_master(u32 site);
21−
2213 /* Config regmap API */
2314
2415 struct regmap *devm_regmap_init_vexpress_config(struct device *dev);