drivers: mtd: nand: cadence: Use bounce buffer
authorDinesh Maniyam <dinesh.maniyam@intel.com>
Wed, 26 Feb 2025 16:18:25 +0000 (00:18 +0800)
committerMichael Trimarchi <michael@amarulasolutions.com>
Sat, 15 Mar 2025 09:35:01 +0000 (10:35 +0100)
commit2b2745b18967e4ec04c04630744eb35b908546ee
treeccdfa11274696f6f681ddbca0cf6bd420e613838
parent880c317230a8650f3b1fca3fa6ee16adce47545c
drivers: mtd: nand: cadence: Use bounce buffer

Enable nand to use bounce buffer. In bounce buffer,
read/write buf will use cadence->buf which has been allocated
using malloc. This will align the memory and avoid memory to be
allocated in different addresses.

Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
drivers/mtd/nand/raw/cadence_nand.c