<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/arch/mips/bcm63xx/nvram.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/arch/mips/bcm63xx/nvram.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/arch/mips/bcm63xx/nvram.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2016-01-27T19:51:50Z</updated>
<entry>
<title>Revert "MIPS: bcm63xx: nvram: Remove unused bcm63xx_nvram_get_psi_size() function"</title>
<updated>2016-01-27T19:51:50Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2016-01-27T19:50:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b0a119fd990420d84baf8bc802bd2caf85edb464'/>
<id>urn:sha1:b0a119fd990420d84baf8bc802bd2caf85edb464</id>
<content type='text'>
This reverts commit 5bdb102b3f9785cb88467bc7c75fa0f5cacc8dc5.

Brian Norris &lt;computersforpeace@gmail.com&gt; is reporting:

Ralf,

Please revert this and send it to Linus (or else, I can send it myself).
This is causing build failures, because I didn't take the rest of
Simon's series yet.

drivers/mtd/bcm63xxpart.c: In function 'bcm63xx_parse_cfe_partitions':
drivers/mtd/bcm63xxpart.c:93:2: error: implicit declaration of function
'bcm63xx_nvram_get_psi_size' [-Werror=implicit-function-declaration]

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
References: https://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&amp;i=20160126191607.GA111152%40google.com
</content>
</entry>
<entry>
<title>MIPS: bcm63xx: nvram: Remove unused bcm63xx_nvram_get_psi_size() function</title>
<updated>2016-01-24T02:49:27Z</updated>
<author>
<name>Simon Arlott</name>
<email>simon@fire.lp0.eu</email>
</author>
<published>2015-12-13T22:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5bdb102b3f9785cb88467bc7c75fa0f5cacc8dc5'/>
<id>urn:sha1:5bdb102b3f9785cb88467bc7c75fa0f5cacc8dc5</id>
<content type='text'>
Remove bcm63xx_nvram_get_psi_size() as it now has no users.

Signed-off-by: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Brian Norris &lt;computersforpeace@gmail.com&gt;
Cc: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Cc: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Cc: Jonas Gorski &lt;jogo@openwrt.org&gt;
Cc: Linux Kernel Mailing List &lt;linux-kernel@vger.kernel.org&gt;
Cc: MIPS Mailing List &lt;linux-mips@linux-mips.org&gt;
Cc: MTD Maling List &lt;linux-mtd@lists.infradead.org&gt;
Patchwork: https://patchwork.linux-mips.org/patch/11836/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: bcm63xx: nvram: Use nvram structure definition from header file</title>
<updated>2016-01-24T02:48:05Z</updated>
<author>
<name>Simon Arlott</name>
<email>simon@fire.lp0.eu</email>
</author>
<published>2015-12-13T22:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5a8b0b13b66608650e41994f4b9d3c8b9d258e8f'/>
<id>urn:sha1:5a8b0b13b66608650e41994f4b9d3c8b9d258e8f</id>
<content type='text'>
Use the common definition of the nvram structure from the header file
include/linux/bcm963xx_nvram.h instead of maintaining a separate copy.

Read the version 5 size of nvram data from memory and then call the
new checksum verification function from the header file.

Signed-off-by: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Brian Norris &lt;computersforpeace@gmail.com&gt;
Cc: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Cc: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Cc: Jonas Gorski &lt;jogo@openwrt.org&gt;
Cc: Linux Kernel Mailing List &lt;linux-kernel@vger.kernel.org&gt;
Cc: MIPS Mailing List &lt;linux-mips@linux-mips.org&gt;
Cc: MTD Maling List &lt;linux-mtd@lists.infradead.org&gt;
Patchwork: https://patchwork.linux-mips.org/patch/11831/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: BCM63XX: export PSI size from nvram</title>
<updated>2013-08-05T17:58:55Z</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2013-03-23T13:07:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e60665c50f0d94c0f2696b19cad7d281b2bc00cf'/>
<id>urn:sha1:e60665c50f0d94c0f2696b19cad7d281b2bc00cf</id>
<content type='text'>
Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;
Acked-by: Florian Fainelli &lt;florian@openwrt.org&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>MIPS: BCM63XX: provide a MAC address for BCM3368 chips</title>
<updated>2013-07-01T13:10:54Z</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2013-06-18T16:55:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0680dc866d10806c85c40b54bbf8cf5be61206d1'/>
<id>urn:sha1:0680dc866d10806c85c40b54bbf8cf5be61206d1</id>
<content type='text'>
The BCM3368 SoC uses a NVRAM format which is not compatible with the one
used by CFE, provide a default MAC address which is suitable for use and
which is the default one also being used by the bootloader on these
chips.

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
Cc: linux-mips@linux-mips.org
Cc: cernekee@gmail.com
Cc: jogo@openwrt.org
Patchwork: https://patchwork.linux-mips.org/patch/5498/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: BCM63XX: Make nvram checksum failure non fatal</title>
<updated>2013-03-19T18:15:40Z</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2013-03-19T13:08:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=97367519d7dac94de566796f034d5f72cbc671f7'/>
<id>urn:sha1:97367519d7dac94de566796f034d5f72cbc671f7</id>
<content type='text'>
Some vendors modify the nvram layout moving the checksum to a different
place or dropping entirely, so reduce the checksum failure to a warning.

Reported-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;
Cc: linux-mips@linux-mips.org
Cc: John Crispin &lt;blogic@openwrt.org&gt;
Cc: Maxime Bizon &lt;mbizon@freebox.fr&gt;
Cc: Florian Fainelli &lt;florian@openwrt.org&gt;
Cc: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: BCM63XX: fix nvram checksum calculation</title>
<updated>2012-12-12T17:57:49Z</updated>
<author>
<name>Jonas Gorski</name>
<email>jonas.gorski@gmail.com</email>
</author>
<published>2012-11-11T12:22:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ce8f0d0607bcad3ec0e8599be80353204427093e'/>
<id>urn:sha1:ce8f0d0607bcad3ec0e8599be80353204427093e</id>
<content type='text'>
The current checksum calculation code does nothing except checking that
the first byte of nvram is 0 without actually checking the checksum.

Implement the correct checksum calculation by calculating the crc32 with
the checksum field set to 0.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4540
</content>
</entry>
<entry>
<title>MIPS: BCM63XX: move nvram functions into their own file</title>
<updated>2012-11-09T10:37:18Z</updated>
<author>
<name>Jonas Gorski</name>
<email>jonas.gorski@gmail.com</email>
</author>
<published>2012-11-07T08:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e7e333cb22e5e34e7a0792f262df52026815662e'/>
<id>urn:sha1:e7e333cb22e5e34e7a0792f262df52026815662e</id>
<content type='text'>
Refactor nvram related functions into its own unit for easier expansion
and exposure of the values to other drivers.

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4516
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
</entry>
</feed>
