diff options
author | Shmuel Hazan <shmuel.h@siklu.com> | 2020-10-29 08:52:18 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2020-10-29 08:00:12 +0100 |
commit | 8dddfff4d83e4e29bb6d0eafa348b7b5f6c0e31b (patch) | |
tree | 6f800e5033624f52d77e9d7bf04d6ab1af3dd890 /drivers/mtd/nand/raw/Kconfig | |
parent | a941226e0060ad207f26ea9203ac6da27febaa62 (diff) | |
download | u-boot-8dddfff4d83e4e29bb6d0eafa348b7b5f6c0e31b.tar.gz |
mtd: pxa3xx_nand: port to use driver model
Use the generic DT code to find the device compatible property for us.
This makes the driver look more like other current drivers. It also make
it easier to add support for other variants like Armada 8K in a future
commit.
Signed-off-by: Shmuel Hazan <shmuel.h@siklu.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Diffstat (limited to 'drivers/mtd/nand/raw/Kconfig')
-rw-r--r-- | drivers/mtd/nand/raw/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index cd7e598aa8..160b599b34 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -195,6 +195,7 @@ endif config NAND_PXA3XX bool "Support for NAND on PXA3xx and Armada 370/XP/38x" select SYS_NAND_SELF_INIT + select DM_MTD imply CMD_NAND help This enables the driver for the NAND flash device found on |