Hei hei, after sending v1 of this patch Eugen and Michael discussed what would be the right approach in U-Boot here. Actually now I saw I did not correctly port what Linux does here in v1, but this v2 should be what I understood would be the preferred solution and should be similar to what Linux does now.
The original patch series had two patches, from which one was applied already. To not confuse patchwork or mailing setups, I send v2 with a cover letter too, although it is only one patch left in the series. Link to v1 below. Greets Alex Alexander Dahl (1): mtd: nand: raw: atmel: Add error handling when rb-gpios missing drivers/mtd/nand/raw/atmel/nand-controller.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Link: https://lore.kernel.org/u-boot/20230808130250.188588-3-...@thorsis.com/ base-commit: 5d2fae79c7d60eaf7f50322e4ec125d2f58544e9 -- 2.30.2