Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 336058c8 authored by Boris Brezillon's avatar Boris Brezillon Committed by Miquel Raynal
Browse files

mtd: rawnand: Remove unused NAND_CONTROLLER_ALLOC flag



Looks like NAND_CONTROLLER_ALLOC has been introduced a long time ago
back when the dummy nand_hw_ctrl object was dynamically allocated
instead of being embedded in nand_chip.

We can safely get rid of this unused flag.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Tested-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 1f2d29e6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -203,10 +203,6 @@ enum nand_ecc_algo {
 */
#define NAND_IS_BOOT_MEDIUM	0x00400000

/* Options set by nand scan */
/* Nand scan has allocated controller struct */
#define NAND_CONTROLLER_ALLOC	0x80000000

/* Cell info constants */
#define NAND_CI_CHIPNR_MSK	0x03
#define NAND_CI_CELLTYPE_MSK	0x0C