commit | 1edb8781affa3afd35a2fe2cc8093b8f54ef41b0 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sun Jan 22 16:06:34 2023 -0600 |
committer | Andre Przywara <andre.przywara@arm.com> | Fri Apr 28 01:06:57 2023 +0100 |
tree | 18a3777d936643e37c68aee55e3295683e54e550 | |
parent | 3c6bbe0c9692f86a005da404c15ae10a127abda6 [diff] |
mtd: nand: sunxi: Convert from fdtdec to ofnode As a first step toward converting this driver to the driver model, use the ofnode abstraction to replace direct references to the FDT blob. Using ofnode_read_u32_index removes an extra pair of loops and makes the allwinner,rb property optional, matching the devicetree binding. Signed-off-by: Samuel Holland <samuel@sholland.org> Acked-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>