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
..
2018-06-12 18:44:00 -04:00
2020-09-22 11:27:18 +03:00
2021-09-28 12:03:21 -04:00
2021-09-17 14:47:03 -04:00
2021-09-22 21:29:56 +02:00
2018-05-07 09:34:12 -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
2018-05-07 09:34:12 -04:00
2020-07-10 11:47:12 +02:00
2020-01-20 10:10:28 +05:30
2021-03-01 09:54:11 -05:00
2018-09-18 00:01:18 -06:00
2018-06-07 17:08:06 -04:00
2021-07-01 16:34:32 -04:00
2021-06-11 16:34:52 +05:30
2020-12-02 16:21:58 -05:00
2021-05-24 14:21:30 -04:00
2020-07-01 11:48:05 -04:00
2020-07-01 11:48:05 -04:00
2020-07-01 11:48:05 -04:00
2020-07-01 11:48:05 -04:00
2021-05-24 14:21:30 -04:00
2019-04-22 11:55:58 -04:00
2018-11-20 13:08:15 +01:00
2018-12-05 06:01:35 -07:00
2017-09-12 18:02:23 -04:00
2020-06-02 13:06:11 -04:00
2018-05-07 09:34:12 -04:00
2019-11-07 18:01:13 -05:00
2021-07-26 09:18:45 +02:00
2017-07-06 16:17:19 -04:00
2018-10-10 12:28:53 -05:00
2019-05-20 13:50:34 +02:00
2018-05-07 09:34:12 -04:00
2021-04-08 17:29:13 +08:00
2019-04-22 11:55:58 -04:00
2020-05-11 01:30:49 +05:30
2020-07-09 12:33:24 +08:00
2020-08-24 16:37:53 +02:00
2019-11-04 18:15:32 -07:00
2020-04-26 14:24:08 -06:00
2018-05-07 09:34:12 -04:00
2019-11-07 00:24:59 +01:00
2018-05-10 20:38:34 -04:00
2017-10-05 21:31:04 -04:00
2017-04-13 09:41:10 -04:00
2018-10-09 14:18:12 -05:00
2019-12-02 18:23:13 -05:00
2018-05-07 09:34:12 -04:00
2019-12-06 16:44:20 -05:00
2021-03-01 09:54:11 -05:00
2021-07-15 17:56:04 +05:30
2021-04-20 07:31:12 -04:00
2021-06-11 16:34:52 +05:30
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-11-20 13:08:15 +01:00
2017-07-06 16:17:19 -04:00
2021-04-12 17:44:55 -04:00
2019-12-06 16:44:19 -05:00
2017-01-14 16:46:29 -05:00
2020-01-17 13:27:25 -05:00
2021-01-31 14:08:56 +01:00
2019-05-05 08:48:50 -04:00
2019-05-05 08:48:50 -04:00