[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221229181526.53766-1-samuel@sholland.org>
Date: Thu, 29 Dec 2022 12:15:19 -0600
From: Samuel Holland <samuel@...lland.org>
To: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>
Cc: Boris Brezillon <bbrezillon@...nel.org>,
Samuel Holland <samuel@...lland.org>,
Brian Norris <computersforpeace@...il.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-sunxi@...ts.linux.dev
Subject: [PATCH 0/7] mtd: rawnand: sunxi: Bug fixes and cleanup
I have an A33 tablet with MLC NAND, and I wanted to use mainline Linux
to dump the NAND. To do that, I updated this driver's ECC ops to fully
utilize the hardware for ECC and scrambling. This made the driver
compatible with the existing (scrambled) on-flash bad block map, and I
was able to read the full NAND contents.
This series contains some initial bug fixes and cleanup from that
effort. The changes to the ECC ops will come as a separate series.
Samuel Holland (7):
mtd: rawnand: sunxi: Clean up chips after failed init
mtd: rawnand: sunxi: Remove an unnecessary check
mtd: rawnand: sunxi: Remove an unnecessary check
mtd: rawnand: sunxi: Fix ECC strength maximization
mtd: rawnand: sunxi: Fix the size of the last OOB region
mtd: rawnand: sunxi: Update OOB layout to match hardware
mtd: rawnand: sunxi: Precompute the ECC_CTL register value
drivers/mtd/nand/raw/sunxi_nand.c | 132 ++++++++++--------------------
1 file changed, 42 insertions(+), 90 deletions(-)
--
2.37.4
Powered by blists - more mailing lists