Files
kernel_common_drivers/include/linux/amlogic
zhikui.cui 32181ca03d NAND: unify slcnand&spinand mtdparts code [1/1]
PD#SWPL-224631

Problem:
mtd partition in spinand and slcnand have no difference,
should unify there code

Solution:
1. spinand partitions table define in dts keep same format with slc nand:
partitions {
	#address = <1>;
	#size-cells= <1>;

	partition@n {
		label = "part_name";
		reg = < ... >;
	};
};
instead of:
partition = <&partitions>;
partitions: partitions{
	part_name {
		offset = < ... >;
		size = < ... >;
	};
}

2. the definition of SLCNAND bl_mode in dts remains the same
as that of SPINAND
bl_mode = <0> : NAND_FIPMODE_COMPACT;
bl_mode = <1> : NAND_FIPMODE_DISCRETE;
bl_mode = <2> : NAND_FIPMODE_ADVANCE;
in this way, SLCNAND does not need to define bl2ex_mode in platform data by
meosn_nand.c

Change-Id: I32d1b1b55e6c927d73937f8f748d8285f3c6dff3
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-09-25 14:03:05 +08:00
..
2024-12-30 17:37:25 +08:00
2025-07-23 02:13:59 -07:00
2025-08-18 08:40:04 -07:00
2025-07-27 22:09:09 -07:00
2022-05-10 02:11:08 -07:00
2022-03-24 20:01:34 +08:00
2021-11-29 19:00:07 +08:00
2022-03-24 20:01:34 +08:00
2025-09-01 04:33:16 -07:00
2025-06-20 02:19:02 -07:00
2021-12-15 15:59:20 +08:00
2022-01-05 17:07:20 +08:00
2022-09-07 20:06:45 +08:00
2025-03-25 07:47:17 -08:00
2025-09-05 04:49:33 -07:00
2023-12-28 01:09:44 -07:00
2024-12-30 17:37:25 +08:00
2023-12-22 02:19:26 -07:00
2021-12-09 15:10:33 +08:00
2023-12-28 19:48:12 +08:00
2024-11-04 23:33:20 -07:00
2022-03-03 01:05:46 -07:00
2022-03-03 01:05:46 -07:00
2025-04-06 21:01:05 -08:00
2025-02-11 06:05:12 -08:00
2025-07-23 00:31:33 -07:00
2025-06-23 21:15:59 -07:00
2021-12-22 15:48:10 +08:00
2022-03-24 20:01:34 +08:00