[PATCH v5 1/2] mtd: nand: sunxi: Replace failsafe timing cfg with calculated value
Brian Norris
computersforpeace at gmail.com
Mon Jul 20 10:46:18 PDT 2015
On Fri, Jun 26, 2015 at 11:00:10AM +0200, Roy Spliet wrote:
> The TIMING_CFG register was previously statically set to a magic value
> (extracted from Allwinner's BSP) when initializing the NAND controller.
> Now that we have more details about the TIMING_CFG register layout
> (extracted from the A83 user manual) we can dynamically calculate the
> appropriate value for each NAND chip and set it when selecting the
> chip.
>
> Signed-off-by: Roy Spliet <r.spliet at ultimaker.com>
> Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
>
> ---
> V2:
> - Fix crippled comments
>
> V3:
> - Warn for invalid timings
> - Style
>
> V4:
> - Make better use of return types
> - Style and comments
> - Remove superfluous initialisation
>
> V5:
> - Tidy up macros
Pushed both to l2-mtd.git. Thanks!
Brian
More information about the linux-arm-kernel
mailing list