[U-Boot] [PATCH 1/1] armv8: ls2080a: Increase env size for qspi boot

York Sun york.sun at nxp.com
Tue Aug 8 17:56:02 UTC 2017


On 06/23/2017 03:07 AM, Santan Kumar wrote:
> Increase env size from 64kb to 256kb for qspi boot
> 
> Signed-off-by: Santan Kumar <santan.kumar at nxp.com>
> Signed-off-by: Priyanka Jain <priyanka.jain at nxp.com>
> ---
> This patch is split version of another patch
>   https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F773670%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cf71f395a0cb94adb322b08d4ba1fb900%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=%2FvMEmB84i5peyUh4JMHi6k%2Fc5cm76x1JMftBeLSANWc%3D&reserved=0
> 
>   include/configs/ls2080a_common.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
> index e311d0b..68191f2 100644
> --- a/include/configs/ls2080a_common.h
> +++ b/include/configs/ls2080a_common.h
> @@ -34,7 +34,7 @@
>   #define CONFIG_ENV_IS_IN_SPI_FLASH
>   #define CONFIG_ENV_SIZE			0x2000          /* 8KB */
>   #define CONFIG_ENV_OFFSET		0x300000        /* 3MB */
> -#define CONFIG_ENV_SECT_SIZE		0x10000
> +#define CONFIG_ENV_SECT_SIZE		0x40000
>   #endif
>   
>   #define CONFIG_SUPPORT_RAW_INITRD
> 


Santan,

You are increasing the sector size, not the env size. Is this what you 
intend to do?

York


More information about the U-Boot mailing list