From 17242f3dbeaead1f77f552b138cbbd61608013cc Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Fri, 11 Dec 2015 16:12:42 +0800 Subject: [PATCH] Remove delay when spi_nor is unlocked or the Test# will not work --- board/embedian/smarcfimx6/smarcfimx6.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/embedian/smarcfimx6/smarcfimx6.c b/board/embedian/smarcfimx6/smarcfimx6.c index b5f62f5..14b4f1e 100644 --- a/board/embedian/smarcfimx6/smarcfimx6.c +++ b/board/embedian/smarcfimx6/smarcfimx6.c @@ -1206,7 +1206,6 @@ int board_early_init_f(void) #ifdef CONFIG_SYS_USE_SPINOR /*Unlock SPI Flash*/ gpio_direction_output(IMX_GPIO_NR(4,20), 1); - udelay(100); setup_spinor(); /*Lock SPI Flash and Free SPI0*/ gpio_direction_output(IMX_GPIO_NR(4,20), 0); -- 1.9.1