[PATCH 2/2] mtd: nand: raw: use raw NAND MTD header
dinesh.maniyam at altera.com
dinesh.maniyam at altera.com
Wed Mar 4 04:24:41 CET 2026
From: Dinesh Maniyam <dinesh.maniyam at altera.com>
Switch Cadence NAND code to include <linux/mtd/rawnand.h> instead of the
legacy cadence-nand.h header, aligning the driver with the raw NAND MTD
API.
Signed-off-by: Dinesh Maniyam <dinesh.maniyam at altera.com>
---
drivers/mtd/nand/raw/cadence_spl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/cadence_spl.c b/drivers/mtd/nand/raw/cadence_spl.c
index 17058e49faa..145ddbcc4ae 100644
--- a/drivers/mtd/nand/raw/cadence_spl.c
+++ b/drivers/mtd/nand/raw/cadence_spl.c
@@ -2,12 +2,11 @@
/*
* Copyright (C) 2024 Intel Corporation <www.intel.com>
*/
-
-#include <cadence-nand.h>
#include <dm.h>
#include <hang.h>
#include <nand.h>
#include <system-constants.h>
+#include <linux/mtd/rawnand.h>
/* Unselect after operation */
void nand_deselect(void)
--
2.19.0
More information about the U-Boot
mailing list