diff mbox

[U-Boot,v2,2/4] mx6qsabreauto: Pass the correct parallel NOR width

Message ID 1481824813-14432-2-git-send-email-fabio.estevam@nxp.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Dec. 15, 2016, 6 p.m. UTC
On mx6qsabreauto the parallel NOR width is 16 bits, so pass configure
CONFIG_SYS_FLASH_CFI_WIDTH correctly so that the CFI driver does not
use 8 bits by default.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
Changes since v1:
- None

 include/configs/mx6qsabreauto.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic Jan. 27, 2017, 9:33 a.m. UTC | #1
On 15/12/2016 19:00, Fabio Estevam wrote:
> On mx6qsabreauto the parallel NOR width is 16 bits, so pass configure
> CONFIG_SYS_FLASH_CFI_WIDTH correctly so that the CFI driver does not
> use 8 bits by default.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> Changes since v1:
> - None
> 
>  include/configs/mx6qsabreauto.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
> index f849f34..7d68633 100644
> --- a/include/configs/mx6qsabreauto.h
> +++ b/include/configs/mx6qsabreauto.h
> @@ -38,6 +38,7 @@
>  #define CONFIG_FLASH_CFI_DRIVER         /* Use drivers/cfi_flash.c */
>  #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* Use buffered writes*/
>  #define CONFIG_SYS_FLASH_EMPTY_INFO
> +#define CONFIG_SYS_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
>  
>  #define CONFIG_SYS_FSL_USDHC_NUM	2
>  #if defined(CONFIG_ENV_IS_IN_MMC)
> 

This is orthogonal to the other patches in the series, and it was not
yet applied.

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
Fabio Estevam Feb. 3, 2017, 1:10 p.m. UTC | #2
Hi Stefano,

On Fri, Jan 27, 2017 at 7:33 AM, Stefano Babic <sbabic@denx.de> wrote:

> This is orthogonal to the other patches in the series, and it was not
> yet applied.

Patch 1/3 :
[U-Boot] [PATCH 1/3] mx6qsabreauto: Configure the WEIM controller like
the kernel

has not been applied as well.
Stefano Babic Feb. 3, 2017, 2:31 p.m. UTC | #3
On 03/02/2017 14:10, Fabio Estevam wrote:
> Hi Stefano,
> 
> On Fri, Jan 27, 2017 at 7:33 AM, Stefano Babic <sbabic@denx.de> wrote:
> 
>> This is orthogonal to the other patches in the series, and it was not
>> yet applied.
> 
> Patch 1/3 :
> [U-Boot] [PATCH 1/3] mx6qsabreauto: Configure the WEIM controller like
> the kernel
> 
> has not been applied as well.


Thanks to report this: I check it.

Regards,
Stefano
diff mbox

Patch

diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
index f849f34..7d68633 100644
--- a/include/configs/mx6qsabreauto.h
+++ b/include/configs/mx6qsabreauto.h
@@ -38,6 +38,7 @@ 
 #define CONFIG_FLASH_CFI_DRIVER         /* Use drivers/cfi_flash.c */
 #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* Use buffered writes*/
 #define CONFIG_SYS_FLASH_EMPTY_INFO
+#define CONFIG_SYS_FLASH_CFI_WIDTH	FLASH_CFI_16BIT
 
 #define CONFIG_SYS_FSL_USDHC_NUM	2
 #if defined(CONFIG_ENV_IS_IN_MMC)