mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	mtd: rawnand: qcom: Add support for Qcom SMEM parser
Add support for using Qualcomm SMEM based flash partition parser in Qualcomm NAND controller. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210104041137.113075-4-manivannan.sadhasivam@linaro.org
This commit is contained in:
		
							parent
							
								
									803eb124e1
								
							
						
					
					
						commit
						82bfd11f1b
					
				| @ -2821,6 +2821,8 @@ static int qcom_nandc_setup(struct qcom_nand_controller *nandc) | |||||||
| 	return 0; | 	return 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | static const char * const probes[] = { "qcomsmem", NULL }; | ||||||
|  | 
 | ||||||
| static int qcom_nand_host_init_and_register(struct qcom_nand_controller *nandc, | static int qcom_nand_host_init_and_register(struct qcom_nand_controller *nandc, | ||||||
| 					    struct qcom_nand_host *host, | 					    struct qcom_nand_host *host, | ||||||
| 					    struct device_node *dn) | 					    struct device_node *dn) | ||||||
| @ -2884,7 +2886,7 @@ static int qcom_nand_host_init_and_register(struct qcom_nand_controller *nandc, | |||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	ret = mtd_device_register(mtd, NULL, 0); | 	ret = mtd_device_parse_register(mtd, probes, NULL, NULL, 0); | ||||||
| 	if (ret) | 	if (ret) | ||||||
| 		nand_cleanup(chip); | 		nand_cleanup(chip); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Manivannan Sadhasivam
						Manivannan Sadhasivam