diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-06-15 21:09:23 +0200 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-07-24 20:36:28 -0500 |
commit | 4ccae81cdadce39e925f3e8c96567fd911568000 (patch) | |
tree | 43f6deb5a8afbbc4ad9c3abbd83bbbe1cb8de563 /lib | |
parent | 42bd19ce6c7bffef402ad6dd639c33686f485d29 (diff) |
mtd: nand: Add the sunxi NAND controller driver
We already have an SPL driver for the sunxi NAND controller, now add
the normal/standard one.
The source has been copied from Linux 4.6 with a few changes to make
it work in u-boot.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fdtdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index c2bcbde258a..462a24f96a9 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -65,6 +65,7 @@ static const char * const compat_names[COMPAT_COUNT] = { COMPAT(INTEL_BAYTRAIL_FSP, "intel,baytrail-fsp"), COMPAT(INTEL_BAYTRAIL_FSP_MDP, "intel,baytrail-fsp-mdp"), COMPAT(INTEL_IVYBRIDGE_FSP, "intel,ivybridge-fsp"), + COMPAT(COMPAT_SUNXI_NAND, "allwinner,sun4i-a10-nand"), }; const char *fdtdec_get_compatible(enum fdt_compat_id id) |