int of_get_nand_bus_width(struct device_node *np);
bool of_get_nand_on_flash_bbt(struct device_node *np);
-@@ -22,6 +24,16 @@ static inline int of_get_nand_ecc_mode(s
- {
+@@ -23,6 +25,16 @@ static inline int of_get_nand_ecc_mode(s
return -ENOSYS;
}
-+
+
+static inline int of_get_nand_ecc_step_size(struct device_node *np)
+{
+ return -ENOSYS;
+{
+ return -ENOSYS;
+}
-
++
static inline int of_get_nand_bus_width(struct device_node *np)
{
+ return -ENOSYS;