Patrice Chotard b8919eaa68 mtd: nand: raw: convert nand_dt_init() to ofnode_xx() interface
nand_dt_init() is still using fdtdec_xx() interface.
If OF_LIVE flag is enabled, dt property can't be get anymore.
Updating all fdtdec_xx() interface to ofnode_xx() to solve this issue.

For doing this, node parameter type must be ofnode.

First idea was to convert "node" parameter to ofnode type inside
nand_dt_init() using offset_to_ofnode(node). But offset_to_ofnode()
is not bijective, in case OF_LIVE flag is enabled, it performs an assert().

So, this leads to update nand_chip struct flash_node field from int to
ofnode and to update all nand_dt_init() callers.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-09-28 12:03:21 -04:00
..
2021-01-27 16:58:57 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2021-03-01 09:54:11 -05:00
2020-05-11 01:30:49 +05:30
2020-08-24 16:37:53 +02:00
2019-11-07 00:24:59 +01:00
2019-12-06 16:44:20 -05:00
2021-03-01 09:54:11 -05:00
2021-04-20 07:31:12 -04:00
2021-04-12 17:44:55 -04:00
2019-12-06 16:44:19 -05:00