mtd: nand: sunxi: Convert to the driver model
authorSamuel Holland <samuel@sholland.org>
Sun, 22 Jan 2023 22:06:35 +0000 (16:06 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Fri, 28 Apr 2023 00:06:57 +0000 (01:06 +0100)
commit21b790fd49c208b602c0b024e0bda0064f75a0d8
tree4786e0fcc59efa286cc21ed229b622a80a201413
parent1eb09081f61fd69aec92b971f115cd8cc98789c3
mtd: nand: sunxi: Convert to the driver model

Clocks, resets, and pinmuxes are now handled by the driver model, so the
only thing the "board" code needs to do is load the driver. This matches
the pattern used by other DM raw NAND drivers (there is no NAND uclass).

The actual board code is now only needed in SPL.

Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/board.c
drivers/mtd/nand/raw/sunxi_nand.c