From a5c3bc03d12c2ed6b2627ea99f20d05b184d00d6 Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Thu, 12 Nov 2009 14:25:13 +0800 Subject: ENGR00118362: Correct recovery NAND cmd This patch will fix three issues: 1. Add boot device detection. 2. Use right nand command in anroid for recovery mode. 3. Recovery mode code clean. Signed-off-by: Terry Lv --- drivers/spi/imx_spi_pmic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/spi') diff --git a/drivers/spi/imx_spi_pmic.c b/drivers/spi/imx_spi_pmic.c index 2ed795f..678f0b4 100644 --- a/drivers/spi/imx_spi_pmic.c +++ b/drivers/spi/imx_spi_pmic.c @@ -119,7 +119,7 @@ void show_pmic_info(struct spi_slave *slave) printf("]\n"); } -struct spi_slave *spi_pmic_probe() +struct spi_slave *spi_pmic_probe(void) { return spi_setup_slave(0, CONFIG_IMX_SPI_PMIC_CS, 2500000, 0); } -- cgit v1.1