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-07-06 10:38:03 -06:00
2021-09-13 18:23:13 -04:00
2021-07-06 10:38:03 -06:00
2021-08-05 19:46:35 -04:00
2021-07-21 10:27:35 -06:00
2021-08-22 11:04:52 +02:00
2021-03-22 19:23:27 +13:00
2021-07-06 10:38:03 -06:00
2021-09-07 10:34:29 +08:00
2021-09-17 14:47:03 -04:00
2021-08-08 11:27:27 -06:00
2021-07-06 10:38:03 -06:00
2021-09-08 16:12:09 -04:00
2021-09-22 21:31:05 +02:00
2021-02-02 15:33:42 -05:00
2021-08-02 13:32:14 -04:00
2021-07-06 10:38:03 -06:00
2021-08-21 18:23:02 -04:00
2021-07-26 09:18:45 +02:00
2021-03-08 10:59:10 +08:00
2021-09-13 18:23:13 -04:00
2021-07-06 10:38:03 -06:00
2021-09-13 18:23:13 -04:00
2021-07-06 10:38:03 -06:00
2021-07-06 10:38:03 -06:00
2021-07-06 10:38:03 -06:00
2021-01-13 09:52:58 +01:00
2021-08-09 14:46:51 +02:00
2021-09-14 00:02:10 +01:00
2021-09-28 12:03:21 -04:00
2021-07-06 10:38:03 -06:00
2021-09-13 18:23:13 -04:00
2021-07-06 10:38:03 -06:00
2021-07-06 10:38:03 -06:00
2021-09-13 18:23:13 -04:00
2021-07-06 10:38:03 -06:00
2021-09-27 07:46:13 +02:00
2021-09-14 09:07:18 -04:00
2021-08-02 13:32:14 -04:00
2021-07-06 10:38:03 -06:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2021-07-23 10:16:39 -04:00
2021-07-15 17:56:04 +05:30
2021-08-06 09:32:03 +02:00
2021-07-06 10:38:03 -06:00
2021-08-06 09:32:02 +02:00
2021-08-05 19:46:35 -04:00
2021-08-02 13:32:14 -04:00
2021-07-06 10:38:03 -06:00
2021-08-26 08:08:11 +02:00
2021-07-06 10:38:03 -06:00
2021-09-13 18:23:13 -04:00
2021-07-06 10:38:03 -06:00
2021-07-20 23:33:54 +02:00
2021-04-20 07:31:12 -04:00
2021-07-23 07:13:25 -04:00
2021-07-06 10:38:03 -06:00
2021-08-02 15:11:40 +08:00
2021-08-01 09:05:24 -06:00
2021-07-06 10:38:03 -06:00
2021-09-22 21:29:56 +02:00
2021-08-06 13:46:40 -04:00
2021-09-13 18:23:13 -04:00
2021-07-07 13:34:42 -04:00
2021-07-06 10:38:03 -06:00
2021-09-20 07:39:29 +02:00
2021-07-06 10:38:03 -06:00
2021-07-23 10:16:39 -04:00
2021-08-09 14:46:51 +02:00