Commit 4514ccef91f6538a203baf554109db0b0643a7b1
Committed by
Prabhakar Kushwaha
1 parent
293d75c0b1
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot
Signed-off-by: Pankit Garg <pankit.garg@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
include/configs/ls1046ardb.h
1 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | 2 | /* |
3 | 3 | * Copyright 2016 Freescale Semiconductor |
4 | + * Copyright 2019 NXP | |
4 | 5 | */ |
5 | 6 | |
6 | 7 | #ifndef __LS1046ARDB_H__ |
... | ... | @@ -162,6 +163,8 @@ |
162 | 163 | #define CONFIG_ENV_SIZE 0x2000 /* 8KB */ |
163 | 164 | #define CONFIG_ENV_OFFSET 0x500000 /* 5MB */ |
164 | 165 | #define CONFIG_ENV_SECT_SIZE 0x40000 /* 256KB */ |
166 | +#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000 | |
167 | +#define CONFIG_ENV_ADDR CONFIG_SYS_FSL_QSPI_BASE + CONFIG_ENV_OFFSET | |
165 | 168 | #else |
166 | 169 | #if defined(CONFIG_SD_BOOT) |
167 | 170 | #define CONFIG_SYS_MMC_ENV_DEV 0 |