diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-01-11 18:40:20 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-01-18 11:52:09 +0100 |
commit | 1466b0e6f9aea34add760dac173320644dbd8ab7 (patch) | |
tree | 1786b8869003b97d05d4b29255972044291de3b1 /include/soc | |
parent | 667a019618c91d41cb1b59390f4480e3c9a5eb45 (diff) | |
download | barebox-1466b0e6f9aea34add760dac173320644dbd8ab7.tar.gz |
mtd: nand: atmel: import Linux NAND controller driver
For a few years, Linux has been using the new EBI bindings for NAND
controllers on all AT91 SoCs newer than the AT91RM2000. We have so far
only supported the old bindings by hacking the DT, but this doesn't
suffice for the SAMA5D4. Therefore import a new state of the Linux NAND
controller driver. We still keep around the old barebox driver to
support the non-DT enabled AT91 platforms.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230111174023.1719129-13-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/at91/atmel-sfr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/at91/atmel-sfr.h b/include/soc/at91/atmel-sfr.h index 8e75508165..1a909a3e06 100644 --- a/include/soc/at91/atmel-sfr.h +++ b/include/soc/at91/atmel-sfr.h @@ -19,6 +19,7 @@ #define AT91_SFR_I2SCLKSEL 0x90 /* I2SC Register */ /* Field definitions */ +#define AT91_SFR_CCFG_NFD0_ON_D16 BIT(24) #define AT91_OHCIICR_SUSPEND_A BIT(8) #define AT91_OHCIICR_SUSPEND_B BIT(9) #define AT91_OHCIICR_SUSPEND_C BIT(10) |