]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: rawnand: omap_elm: u-boot driver model support
authorRoger Quadros <rogerq@kernel.org>
Tue, 20 Dec 2022 10:22:03 +0000 (12:22 +0200)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 8 Jan 2023 09:38:50 +0000 (10:38 +0100)
commit0511c1ca64a07a480bdec3700ecedd6aaa4702ff
tree1d2baa6763d9bff45151ac7990c3af2a50970c6b
parent91e4e113e42d84866d268364f6793c4956326211
mtd: rawnand: omap_elm: u-boot driver model support

Support u-boot driver model. We still retain
support legacy way of doing things if ELM_BASE
is defined in <asm/arch/hardware.h>

We could completely get rid of that if all
platforms defining ELM_BASE get rid of that definition
and enable CONFIG_SYS_NAND_SELF_INIT and are verified
to work.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Link: https://lore.kernel.org/all/20221220102203.52398-9-rogerq@kernel.org
Link: https://lore.kernel.org/all/CABGWkvrvKiVA_yaDnHJcHEKwc+pEuLdz=i6HQEY0oJQvohCUsw@mail.gmail.com
drivers/mtd/nand/raw/omap_elm.c
drivers/mtd/nand/raw/omap_elm.h [new file with mode: 0644]
drivers/mtd/nand/raw/omap_gpmc.c
include/linux/mtd/omap_elm.h [deleted file]