mirror of
https://xff.cz/git/u-boot/
synced 2025-09-26 04:51:17 +02:00
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>
This commit is contained in:
committed by
Prabhakar Kushwaha
parent
293d75c0b1
commit
4514ccef91
@@ -1,6 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||||
/*
|
/*
|
||||||
* Copyright 2016 Freescale Semiconductor
|
* Copyright 2016 Freescale Semiconductor
|
||||||
|
* Copyright 2019 NXP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __LS1046ARDB_H__
|
#ifndef __LS1046ARDB_H__
|
||||||
@@ -162,6 +163,8 @@
|
|||||||
#define CONFIG_ENV_SIZE 0x2000 /* 8KB */
|
#define CONFIG_ENV_SIZE 0x2000 /* 8KB */
|
||||||
#define CONFIG_ENV_OFFSET 0x500000 /* 5MB */
|
#define CONFIG_ENV_OFFSET 0x500000 /* 5MB */
|
||||||
#define CONFIG_ENV_SECT_SIZE 0x40000 /* 256KB */
|
#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
|
#else
|
||||||
#if defined(CONFIG_SD_BOOT)
|
#if defined(CONFIG_SD_BOOT)
|
||||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||||
|
Reference in New Issue
Block a user