<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/env/Kconfig, branch v2020.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/env/Kconfig?h=v2020.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/env/Kconfig?h=v2020.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-12-04T18:26:17Z</updated>
<entry>
<title>mtd: ensure UBI is compiled when ENV_IS_IN_UBI is selected</title>
<updated>2019-12-04T18:26:17Z</updated>
<author>
<name>Miquel Raynal</name>
<email>miquel.raynal@bootlin.com</email>
</author>
<published>2019-10-03T17:50:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=00e270473e6d7b8610a4abac739509d1d8db22b5'/>
<id>urn:sha1:00e270473e6d7b8610a4abac739509d1d8db22b5</id>
<content type='text'>
UBI must be enabled when the environment is in UBI.

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>env: Finish migration of common ENV options</title>
<updated>2019-11-20T23:32:09Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-11-19T01:02:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a09fea1d28fe3c69a64bee092f5a764274d26ca2'/>
<id>urn:sha1:a09fea1d28fe3c69a64bee092f5a764274d26ca2</id>
<content type='text'>
- In ARMv8 NXP Layerscape platforms we also need to make use of
  CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
- On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
  to 0.
- Add Kconfig entry for ENV_ADDR.
- Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
- Add ENV_xxx_REDUND options that depend on their primary option and
  SYS_REDUNDAND_ENVIRONMENT
- On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
  for the pre-main-U-Boot environment location.
- On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
  rather it being non-zero, as it will now be zero by default.
- Rework the env_offset absolute in env/embedded.o to not use
  CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
  ENV_IS_IN_FLASH.
- Migrate all platforms.

Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Cc: uboot-stm32@st-md-mailman.stormreply.com
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
</content>
</entry>
<entry>
<title>env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check</title>
<updated>2019-11-20T23:31:24Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-11-19T01:02:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a8992e788aba46f6f129af3111682be86236074f'/>
<id>urn:sha1:a8992e788aba46f6f129af3111682be86236074f</id>
<content type='text'>
We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it.  We have one
board where we can simply multiple CONFIG_ENV_SIZE by two for the same
result.  The other place where we could but were not previously using
this is for where env_internal.h checks for if we should set
ENV_IS_EMBEDDED.  This seems like the most likely use, historically, of
the variable, but it was not used.  Add logic to check for this now.

Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbol</title>
<updated>2019-11-20T17:24:50Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-11-13T03:46:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8d8ee47e03ef23b0d0e842ea455a30bf0d2023b9'/>
<id>urn:sha1:8d8ee47e03ef23b0d0e842ea455a30bf0d2023b9</id>
<content type='text'>
Today in initr_reloc_global_data() we use some non-obvious tests to
determine if we need to relocate the env_addr within gd or not.  In
order to facilitate migration of other symbols to Kconfig we need to
introduce a new symbol for this particular use case.

Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>defconfigs: Migrate CONFIG_SYS_REDUNDAND_ENVIRONMENT</title>
<updated>2019-11-12T16:08:00Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-11-10T16:28:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb6617a77f81df47b72cc4115faf7bd5b1f7cfeb'/>
<id>urn:sha1:cb6617a77f81df47b72cc4115faf7bd5b1f7cfeb</id>
<content type='text'>
Move this symbol to Kconfig.  As part of this we can drop a UBI-specific
symbol that was a stop-gap for not having this particular symbol in
Kconfig.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>ubi: env: fix redundand management</title>
<updated>2019-10-16T03:53:37Z</updated>
<author>
<name>Philippe Reynes</name>
<email>philippe.reynes@softathome.com</email>
</author>
<published>2019-10-14T17:41:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=611623417403256dc79205a89d4dc7f826bc805f'/>
<id>urn:sha1:611623417403256dc79205a89d4dc7f826bc805f</id>
<content type='text'>
We check (with a #if defined()) the config ENV_UBI_VOLUME_REDUND
to know if there is a redundant env. But this config is a string
and is always defined with env is in ubi, so we always consider
that a redundand env is used.

To fix this issue, I've added a hidden flag ENV_UBI_IS_VOLUME_REDUND
that is true when ENV_UBI_VOLUME_REDUND is not "". Then, I check
this flag in the code, instead of the string ENV_UBI_VOLUME_REDUND.

hs: fixed typo s/condider/consider

Signed-off-by: Philippe Reynes &lt;philippe.reynes@softathome.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>env: Kconfig: Add environment default offset in versal</title>
<updated>2019-10-08T07:41:27Z</updated>
<author>
<name>T Karthik Reddy</name>
<email>t.karthik.reddy@xilinx.com</email>
</author>
<published>2019-08-05T10:48:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f8c0f9fa7cbd2be377b4af4106674b3d4f6538db'/>
<id>urn:sha1:f8c0f9fa7cbd2be377b4af4106674b3d4f6538db</id>
<content type='text'>
This patch adds default offset &amp; sector size values for environment
variables to save in qspi/ospi flash for versal.

Signed-off-by: T Karthik Reddy &lt;t.karthik.reddy@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>stm32mp1: move CONFIG_ENV in Kconfig</title>
<updated>2019-07-12T09:18:53Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2019-06-14T11:05:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4048e171d2de7b6eafb52875014a036f97e7dc38'/>
<id>urn:sha1:4048e171d2de7b6eafb52875014a036f97e7dc38</id>
<content type='text'>
Move 2 ENV configuration flags in board Kconfig
- CONFIG_ENV_SECT_SIZE
- CONFIG_ENV_OFFSET

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>env: ubi: support configurable VID offset</title>
<updated>2019-07-09T05:00:22Z</updated>
<author>
<name>Hamish Guthrie</name>
<email>hamish.guthrie@kistler.com</email>
</author>
<published>2019-05-15T13:15:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=985186d1f2539c002c8482b2b164d59026d1bea3'/>
<id>urn:sha1:985186d1f2539c002c8482b2b164d59026d1bea3</id>
<content type='text'>
Introduce KConfig CONFIG_ENV_UBI_VID_OFFSET to allow providing custom
VID header offsets for the environment on UBI.

Signed-off-by: Hamish Guthrie &lt;hamish.guthrie@kistler.com&gt;
Signed-off-by: Markus Klotzbuecher &lt;markus.klotzbuecher@kistler.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Kyungmin Park &lt;kmpark@infradead.org&gt;
</content>
</entry>
<entry>
<title>at91, omap2plus: configs: migrate CONFIG_ENV_ to defconfigs</title>
<updated>2019-07-09T05:00:21Z</updated>
<author>
<name>Markus Klotzbuecher</name>
<email>markus.klotzbuecher@kistler.com</email>
</author>
<published>2019-05-15T13:15:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a9221f3ebd6dc71b33c14055504446d8e08f372b'/>
<id>urn:sha1:a9221f3ebd6dc71b33c14055504446d8e08f372b</id>
<content type='text'>
Enable the extended ENV options for AT91 and OMAP2PLUS in order to be
able to use CONFIG_ENV_UBI_* on these architectures.

As this change also makes the configs ENV_SIZE, ENV_SECT_SIZE,
ENV_OFFSET visible to AT91 and OMAP2PLUS, migrate users of these to
KConfig.

This migration was run using an extended moveconfig.py which evaluates
expressions such as "(512 &lt;&lt; 10)". See patch ("moveconfig: expand
simple expressions").

All modified boards were built with SOURCE_DATE_EPOCH=0 before and
after the change and successfully confirmed that the identical binary
is generated (the only exception was igep00x0, which does not define
CONFIG_ENV_IS_IN_UBI in the original board header. Once that is
defined, the test passes too).

hs: rebased patch to:
  68b90e57bc: "configs: tinker-rk3288 disable CONFIG_SPL_I2C_SUPPORT"

Signed-off-by: Markus Klotzbuecher &lt;markus.klotzbuecher@kistler.com&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Eugen Hristev &lt;eugen.hristev@microchip.com&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
