]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/syscon.h
Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig
[people/ms/u-boot.git] / include / syscon.h
index 4593b6e3ebfdb96e7869cc9cc88045eaa42cb35d..34842aa4705891928df2f1346f22803f80116caa 100644 (file)
@@ -23,6 +23,17 @@ struct syscon_ops {
 
 #define syscon_get_ops(dev)        ((struct syscon_ops *)(dev)->driver->ops)
 
+#if CONFIG_IS_ENABLED(OF_PLATDATA)
+/*
+ * We don't support 64-bit machines. If they are so resource-contrained that
+ * they need to use OF_PLATDATA, something is horribly wrong with the
+ * education of our hardware engineers.
+ */
+struct syscon_base_platdata {
+       u32 reg[2];
+};
+#endif
+
 /**
  * syscon_get_regmap() - Get access to a register map
  *