aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaralaxmi Bingi2020-02-05 03:58:20 -0700
committerMichal Simek2020-04-06 12:51:31 +0200
commit63e988ed4e39af1d0a40c9cd5efe36e8e9b09206 (patch)
treebcd8ed428a7cb4b7b9a9f68896e8243e4d1ae36d
parent00fb945cf56bfe3d8ca7b1c2e38740c4c94a15c7 (diff)
env: Kconfig: Adding default values for Microblaze
This patch will add default values for ENV_OFFSET and ENV_SECT_SIZE for Microblaze. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--env/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 0d6f559b39d..2d972a5d4f3 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -500,6 +500,7 @@ config ENV_OFFSET
default 0 if ARC
default 0x140000 if ARCH_AT91
default 0x260000 if ARCH_OMAP2PLUS
+ default 0x1080000 if MICROBLAZE && ENV_IS_IN_SPI_FLASH
help
Offset from the start of the device (or partition)
@@ -529,6 +530,7 @@ config ENV_SECT_SIZE
default 0x2000 if ARCH_ROCKCHIP
default 0x40000 if ARCH_ZYNQMP || ARCH_VERSAL
default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
+ default 0x20000 if MICROBLAZE && ENV_IS_IN_SPI_FLASH
help
Size of the sector containing the environment.