]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: pxa3xx: enable NAND controller if the SoC needs it
authorShmuel Hazan <shmuel.h@siklu.com>
Thu, 29 Oct 2020 06:52:20 +0000 (08:52 +0200)
committerStefan Roese <sr@denx.de>
Thu, 29 Oct 2020 11:31:38 +0000 (12:31 +0100)
commitea066868b68f27db23a596483935d9cec42a4587
treea2e539f8c25ed84c7ffe29808825914ee7fcfc01
parente2dcb1cb1c3c5293fef2dc2c7129f86d33e4f37a
mtd: nand: pxa3xx: enable NAND controller if the SoC needs it

Based on Linux kernel commit fc256f5789cb ("mtd: nand: pxa3xx: enable
NAND controller if the SoC needs it"). This commit adds support for the
Armada 8040 nand controller.

The kernel commit says this:

    Marvell recent SoCs like A7k/A8k do not boot with NAND flash
    controller activated by default. Enabling the controller is a matter
    of writing in a system controller register that may also be used for
    other NAND related choices.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Shmuel Hazan <shmuel.h@siklu.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/pxa3xx_nand.c