Re: [U-Boot] [PATCH 1/2] ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot
> -Original Message- > From: Pankit Garg > Sent: Thursday, May 30, 2019 5:34 PM > To: u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Jagdish Gediya > > Subject: [PATCH 1/2] ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi > boot > > Signed-off-by: Pankit Garg > --- This patch has been applied to fsl-qoriq master, awaiting upstream. --pk ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH 1/2] ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot
Signed-off-by: Pankit Garg --- Changes for v2: - add NXP copyright include/configs/ls1046ardb.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h index f22e863..fa90953 100644 --- a/include/configs/ls1046ardb.h +++ b/include/configs/ls1046ardb.h @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2016 Freescale Semiconductor + * Copyright 2019 NXP */ #ifndef __LS1046ARDB_H__ @@ -162,6 +163,8 @@ #define CONFIG_ENV_SIZE0x2000 /* 8KB */ #define CONFIG_ENV_OFFSET 0x50/* 5MB */ #define CONFIG_ENV_SECT_SIZE 0x4 /* 256KB */ +#define CONFIG_SYS_FSL_QSPI_BASE0x4000 +#define CONFIG_ENV_ADDR CONFIG_SYS_FSL_QSPI_BASE + CONFIG_ENV_OFFSET #else #if defined(CONFIG_SD_BOOT) #define CONFIG_SYS_MMC_ENV_DEV 0 -- 1.9.1 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH 1/2] ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot
Signed-off-by: Pankit Garg --- include/configs/ls1046ardb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h index f22e863..5741014 100644 --- a/include/configs/ls1046ardb.h +++ b/include/configs/ls1046ardb.h @@ -162,6 +162,8 @@ #define CONFIG_ENV_SIZE0x2000 /* 8KB */ #define CONFIG_ENV_OFFSET 0x50/* 5MB */ #define CONFIG_ENV_SECT_SIZE 0x4 /* 256KB */ +#define CONFIG_SYS_FSL_QSPI_BASE0x4000 +#define CONFIG_ENV_ADDR CONFIG_SYS_FSL_QSPI_BASE + CONFIG_ENV_OFFSET #else #if defined(CONFIG_SD_BOOT) #define CONFIG_SYS_MMC_ENV_DEV 0 -- 1.9.1 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot