[U-Boot] [PATCH 09/11] arm/pxa: fix number of cfi flashes in vpac270

Marek Vasut marek.vasut at gmail.com
Thu Aug 26 13:50:12 CEST 2010


Dne Čt 26. srpna 2010 12:55:44 Mikhail Kshevetskiy napsal(a):
> This board have only one CFI flash actually, so fix it in config.
> 
> PS: This patch should not go upstream at this point as it specific
>     to my revision of voipac
> 
This is a PRO module, right? I got my hands on one and support for it is in for-
wd-master ... make vpac270_nor_128M_config .

> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at gmail.com>
> ---
>  include/configs/vpac270.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h
> index ddb3e0e..c92eb40 100644
> --- a/include/configs/vpac270.h
> +++ b/include/configs/vpac270.h
> @@ -192,8 +192,8 @@
>  #define	CONFIG_FLASH_CFI_DRIVER		1
> 
>  #define	CONFIG_SYS_MAX_FLASH_SECT	(4 + 255)
> -#define	CONFIG_SYS_MAX_FLASH_BANKS	2
> -#define	CONFIG_SYS_FLASH_BANKS_LIST	{ PHYS_FLASH_1, PHYS_FLASH_2 }
> +#define	CONFIG_SYS_MAX_FLASH_BANKS	1
> +#define	CONFIG_SYS_FLASH_BANKS_LIST	{ PHYS_FLASH_1 }
> 
>  #define	CONFIG_SYS_FLASH_ERASE_TOUT	(25*CONFIG_SYS_HZ)
>  #define	CONFIG_SYS_FLASH_WRITE_TOUT	(25*CONFIG_SYS_HZ)


More information about the U-Boot mailing list