Message ID | 7e037e03a6080e03b46d7fa42678bb07e306eb3f.1582030292.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 63e988ed4e39af1d0a40c9cd5efe36e8e9b09206 |
Delegated to: | Michal Simek |
Headers | show |
Series | env: Kconfig: Adding default values for Microblaze | expand |
Ășt 18. 2. 2020 v 13:51 odesĂlatel Michal Simek <michal.simek@xilinx.com> napsal: > > From: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> > > 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> > --- > > env/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/env/Kconfig b/env/Kconfig > index 0d6f559b39d3..2d972a5d4f34 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. > > -- > 2.25.0 > Applied. M
diff --git a/env/Kconfig b/env/Kconfig index 0d6f559b39d3..2d972a5d4f34 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.