summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPankit Garg <pankit.garg@nxp.com>2019-05-30 12:04:14 +0000
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-06-19 12:54:57 +0530
commit4514ccef91f6538a203baf554109db0b0643a7b1 (patch)
tree25f1898bc2319f6599f6a61b28aafc276c949dcb /include
parent293d75c0b1dc0678741841c639f52fa4875929a5 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1046ardb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 831767235e..2d20f15683 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_SIZE 0x2000 /* 8KB */
#define CONFIG_ENV_OFFSET 0x500000 /* 5MB */
#define CONFIG_ENV_SECT_SIZE 0x40000 /* 256KB */
+#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000
+#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