<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/bootcount/Makefile, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>drivers: bootcount: Add ZynqMP specific bootcount support</title>
<updated>2024-11-15T13:32:47+00:00</updated>
<author>
<name>Vasileios Amoiridis</name>
<email>vasileios.amoiridis@cern.ch</email>
</author>
<published>2024-11-05T13:27:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=159dfef2615dcc83acf4e28bbed0387d72066b0c'/>
<id>159dfef2615dcc83acf4e28bbed0387d72066b0c</id>
<content type='text'>
Add native support of the bootcount mechanism in the ZynqMP by
utilising internal PMU registers. The Persistent Global Storage
Registers of the Platform Management Unit can keep their value
during reboot cycles unless there is a POR reset, making them
appropriate for the bootcount mechanism.

Signed-off-by: Vasileios Amoiridis &lt;vasileios.amoiridis@cern.ch&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Link: https://lore.kernel.org/r/20241105132744.1572759-2-vassilisamir@gmail.com
Signed-off-by: Michal Simek &lt;michal.simek@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add native support of the bootcount mechanism in the ZynqMP by
utilising internal PMU registers. The Persistent Global Storage
Registers of the Platform Management Unit can keep their value
during reboot cycles unless there is a POR reset, making them
appropriate for the bootcount mechanism.

Signed-off-by: Vasileios Amoiridis &lt;vasileios.amoiridis@cern.ch&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Link: https://lore.kernel.org/r/20241105132744.1572759-2-vassilisamir@gmail.com
Signed-off-by: Michal Simek &lt;michal.simek@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: bootcount: Add support for ANY filesystem</title>
<updated>2024-07-16T18:46:34+00:00</updated>
<author>
<name>Vasileios Amoiridis</name>
<email>vassilisamir@gmail.com</email>
</author>
<published>2024-06-28T17:35:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1d7e2120af8ddf1abbdb6f34e3a39174cf54736f'/>
<id>1d7e2120af8ddf1abbdb6f34e3a39174cf54736f</id>
<content type='text'>
Add support to save boot count variable in ANY filesystem. Tested with
FAT and EXT.

Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Philip Oberfichtner &lt;pro@denx.de&gt;
Signed-off-by: Vasileios Amoiridis &lt;vasileios.amoiridis@cern.ch&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support to save boot count variable in ANY filesystem. Tested with
FAT and EXT.

Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Philip Oberfichtner &lt;pro@denx.de&gt;
Signed-off-by: Vasileios Amoiridis &lt;vasileios.amoiridis@cern.ch&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcount: Add driver model I2C driver</title>
<updated>2023-10-31T08:09:04+00:00</updated>
<author>
<name>Philip Richard Oberfichtner</name>
<email>pro@denx.de</email>
</author>
<published>2023-10-31T07:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5b6ee512ceb8d990e010646c4fe7b8a3633fad68'/>
<id>5b6ee512ceb8d990e010646c4fe7b8a3633fad68</id>
<content type='text'>
This adds a generic I2C bootcounter adhering to driver model to replace
the previously removed legacy implementation.

There is no change in functionality, it can be used on any I2C device.
The device tree configuration may look like this for example:

	bootcount {
		compatible = "u-boot,bootcount-i2c";
		i2cbcdev = &lt;&amp;i2c_rtc&gt;;
		offset = &lt;0x11&gt;;
	};

Signed-off-by: Philip Richard Oberfichtner &lt;pro@denx.de&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a generic I2C bootcounter adhering to driver model to replace
the previously removed legacy implementation.

There is no change in functionality, it can be used on any I2C device.
The device tree configuration may look like this for example:

	bootcount {
		compatible = "u-boot,bootcount-i2c";
		i2cbcdev = &lt;&amp;i2c_rtc&gt;;
		offset = &lt;0x11&gt;;
	};

Signed-off-by: Philip Richard Oberfichtner &lt;pro@denx.de&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcount: Remove legacy I2C driver</title>
<updated>2023-10-31T08:08:36+00:00</updated>
<author>
<name>Philip Richard Oberfichtner</name>
<email>pro@denx.de</email>
</author>
<published>2023-10-31T07:38:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=31f4ee4b13d974ba4b973211eeb57db70bc5ea77'/>
<id>31f4ee4b13d974ba4b973211eeb57db70bc5ea77</id>
<content type='text'>
The legacy I2C bootcounter will hereby be removed and eventually
be replaced by a driver model implementation in the follow-up commit.

The legacy driver has the following drawbacks:
	- It's not adhering to the driver model
	- Settings are grabbed from Kconfig rather than device tree
	- i2c_{read,write} are being used instead of dm_i2c_{read,write}

Signed-off-by: Philip Richard Oberfichtner &lt;pro@denx.de&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The legacy I2C bootcounter will hereby be removed and eventually
be replaced by a driver model implementation in the follow-up commit.

The legacy driver has the following drawbacks:
	- It's not adhering to the driver model
	- Settings are grabbed from Kconfig rather than device tree
	- i2c_{read,write} are being used instead of dm_i2c_{read,write}

Signed-off-by: Philip Richard Oberfichtner &lt;pro@denx.de&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcount: Add pmic pfuze100 bootcount driver</title>
<updated>2022-03-25T20:42:40+00:00</updated>
<author>
<name>Philip Oberfichtner</name>
<email>pro@denx.de</email>
</author>
<published>2022-03-18T11:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c537a36839964b66b6c56c7488c3809763de5a16'/>
<id>c537a36839964b66b6c56c7488c3809763de5a16</id>
<content type='text'>
Use the MEMA - MEMD registers on the PFUZE100 as bootcount
registers.

Based on work from Heiko Schocher &lt;hs@denx.de&gt;.
Signed-off-by: Philip Oberfichtner &lt;pro@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the MEMA - MEMD registers on the PFUZE100 as bootcount
registers.

Based on work from Heiko Schocher &lt;hs@denx.de&gt;.
Signed-off-by: Philip Oberfichtner &lt;pro@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcount: add a new driver with syscon as backend</title>
<updated>2021-08-22T09:04:52+00:00</updated>
<author>
<name>Nandor Han</name>
<email>nandor.han@vaisala.com</email>
</author>
<published>2021-06-10T12:40:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c50b21b70523939c561d0455a2c423f63a9162ca'/>
<id>c50b21b70523939c561d0455a2c423f63a9162ca</id>
<content type='text'>
The driver will use a syscon regmap as backend and supports both
16 and 32 size value. The value will be stored in the CPU's endianness.

Signed-off-by: Nandor Han &lt;nandor.han@vaisala.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The driver will use a syscon regmap as backend and supports both
16 and 32 size value. The value will be stored in the CPU's endianness.

Signed-off-by: Nandor Han &lt;nandor.han@vaisala.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>am335x, guardian: software update available status is stored in AM3352 RTC scracth register</title>
<updated>2021-07-15T12:26:03+00:00</updated>
<author>
<name>Gireesh Hiremath</name>
<email>Gireesh.Hiremath@in.bosch.com</email>
</author>
<published>2021-06-11T16:13:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=caf9478624878687b7098c3037202d8892b1dee6'/>
<id>caf9478624878687b7098c3037202d8892b1dee6</id>
<content type='text'>
RTC second scratch register[32-bit]:
  -zero byte hold boot count value
  -first byte hold update available state
  -second byte hold version
  -third byte hold magic number

Signed-off-by: Gireesh Hiremath &lt;Gireesh.Hiremath@in.bosch.com&gt;

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Link: https://lore.kernel.org/r/20210611161350.2141-17-Gireesh.Hiremath@in.bosch.com
Gbp-Pq: Topic apertis/guardian
Gbp-Pq: Name am335x-guardian-software-update-available-status-is-store.patch
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RTC second scratch register[32-bit]:
  -zero byte hold boot count value
  -first byte hold update available state
  -second byte hold version
  -third byte hold magic number

Signed-off-by: Gireesh Hiremath &lt;Gireesh.Hiremath@in.bosch.com&gt;

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Link: https://lore.kernel.org/r/20210611161350.2141-17-Gireesh.Hiremath@in.bosch.com
Gbp-Pq: Topic apertis/guardian
Gbp-Pq: Name am335x-guardian-software-update-available-status-is-store.patch
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcount: add a DM SPI flash backing store for bootcount</title>
<updated>2020-11-01T14:58:47+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sebastian.reichel@collabora.com</email>
</author>
<published>2020-09-02T17:31:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cfe894967718bc669574eaafcb5b38f313567fe0'/>
<id>cfe894967718bc669574eaafcb5b38f313567fe0</id>
<content type='text'>
This driver allows to use SPI flash as backing store for
boot counter values with DM enabled.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This driver allows to use SPI flash as backing store for
boot counter values with DM enabled.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcounter: add DM support for memory based bootcounter</title>
<updated>2020-03-16T07:05:00+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2020-03-02T14:43:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=80e8b8add057d2c947394d9d57fc2dcc7ff886d1'/>
<id>80e8b8add057d2c947394d9d57fc2dcc7ff886d1</id>
<content type='text'>
add DM/DTS support for the memory based bootcounter
in drivers/bootcount/bootcount.c.

Let the old implementation in, so boards which have
not yet convert to DM/DTS do not break.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add DM/DTS support for the memory based bootcounter
in drivers/bootcount/bootcount.c.

Let the old implementation in, so boards which have
not yet convert to DM/DTS do not break.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootcount: add a DM i2c eeprom backing store for bootcount</title>
<updated>2020-01-10T15:25:13+00:00</updated>
<author>
<name>Robert Beckett</name>
<email>bob.beckett@collabora.com</email>
</author>
<published>2019-10-28T18:44:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ae3d38f3187143673d60852d527369e290c0c29d'/>
<id>ae3d38f3187143673d60852d527369e290c0c29d</id>
<content type='text'>
This driver allows the use of i2c eeprom device or partition as backing
store for boot counter values with DM enabled.

Signed-off-by: Robert Beckett &lt;bob.beckett@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This driver allows the use of i2c eeprom device or partition as backing
store for boot counter values with DM enabled.

Signed-off-by: Robert Beckett &lt;bob.beckett@collabora.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
