<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd/mtdcore.c, 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>nand: Add a watch command</title>
<updated>2024-12-17T19:17:41+00:00</updated>
<author>
<name>Michael Trimarchi</name>
<email>michael@amarulasolutions.com</email>
</author>
<published>2024-12-12T18:28:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1fac577207196e12932c2c733b58e3b14013b1ce'/>
<id>1fac577207196e12932c2c733b58e3b14013b1ce</id>
<content type='text'>
This is a debug command to monitor the retention state of the data on
the array. The command needs a duplication of the mtd_read_oob()
function to actually return the maximum number of bitflips encountered
while reading the page. We could write a specific implementation for the
Sunxi driver but this is probably enough.

    nand watch &lt;off&gt; &lt;size&gt; - check an area for bitflips
    nand watch.part &lt;part&gt; - check a partition for bitflips
    nand watch.chip - check the whole device for bitflips

The output may be a bit verbose and could look like:

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Page       0 (0x00000000) -&gt; error -74
    Page       1 (0x00000800) -&gt; error -74
    Page       2 (0x00001000) -&gt; error -74
    Page       3 (0x00001800) -&gt; error -74
    Page       4 (0x00002000) -&gt; error -74
    Page       5 (0x00002800) -&gt; error -74
    Page       6 (0x00003000) -&gt; error -74
    Page       7 (0x00003800) -&gt; error -74
    Page       8 (0x00004000) -&gt; error -74
    Page       9 (0x00004800) -&gt; error -74
    Page      10 (0x00005000) -&gt; error -74
    Page      11 (0x00005800) -&gt; error -74
    Page      12 (0x00006000) -&gt; error -74
    Page      13 (0x00006800) -&gt; error -74
    Page      14 (0x00007000) -&gt; error -74
    Page      15 (0x00007800) -&gt; error -74
    Page      16 (0x00008000) -&gt; error -74
    Page      17 (0x00008800) -&gt; error -74
    Page      18 (0x00009000) -&gt; error -74
    Page      19 (0x00009800) -&gt; error -74
    Page      20 (0x0000a000) -&gt; error -74
    Page      21 (0x0000a800) -&gt; error -74
    Page      22 (0x0000b000) -&gt; error -74
    Page      23 (0x0000b800) -&gt; error -74
    Page    1110 (0x0022b000) -&gt; up to  1 bf/chunk
    Page    1122 (0x00231000) -&gt; up to  1 bf/chunk
    Page    1132 (0x00236000) -&gt; up to  1 bf/chunk
    Page    1362 (0x002a9000) -&gt; up to  1 bf/chunk
    Page    4990 (0x009bf000) -&gt; up to  1 bf/chunk
    Page    5728 (0x00b30000) -&gt; up to  1 bf/chunk
    Page    7116 (0x00de6000) -&gt; up to  1 bf/chunk
    Page    7160 (0x00dfc000) -&gt; up to  1 bf/chunk
    Page    7494 (0x00ea3000) -&gt; up to  1 bf/chunk
    Page   10842 (0x0152d000) -&gt; up to  1 bf/chunk
    Page   11614 (0x016af000) -&gt; up to  1 bf/chunk
    Page   11970 (0x01761000) -&gt; up to  1 bf/chunk
    Page   12536 (0x0187c000) -&gt; up to  1 bf/chunk
    Page   12687 (0x018c7800) -&gt; up to  1 bf/chunk
    Page   14298 (0x01bed000) -&gt; up to  1 bf/chunk
    Page   18268 (0x023ae000) -&gt; up to  1 bf/chunk
    Page   18760 (0x024a4000) -&gt; up to  1 bf/chunk
    Page   21440 (0x029e0000) -&gt; up to  1 bf/chunk
    Page   22336 (0x02ba0000) -&gt; up to  1 bf/chunk
    Page   22592 (0x02c20000) -&gt; up to  1 bf/chunk
    Page   23872 (0x02ea0000) -&gt; up to  1 bf/chunk
    Page   27584 (0x035e0000) -&gt; up to  1 bf/chunk
    Page   35008 (0x04460000) -&gt; up to  1 bf/chunk
    Page   37184 (0x048a0000) -&gt; up to  1 bf/chunk
    Page   41728 (0x05180000) -&gt; up to  1 bf/chunk
    Page   42176 (0x05260000) -&gt; up to  1 bf/chunk
    Page   43200 (0x05460000) -&gt; up to  1 bf/chunk
    Page   43328 (0x054a0000) -&gt; up to  1 bf/chunk
    Page   45376 (0x058a0000) -&gt; up to  1 bf/chunk
    Page   47040 (0x05be0000) -&gt; up to  1 bf/chunk
    Page   47552 (0x05ce0000) -&gt; up to  1 bf/chunk
    Page   49344 (0x06060000) -&gt; up to  1 bf/chunk
    Page   49856 (0x06160000) -&gt; up to  1 bf/chunk
    Page   62784 (0x07aa0000) -&gt; up to  1 bf/chunk
    Page   65153 (0x07f40800) -&gt; up to  1 bf/chunk
    Page   65228 (0x07f66000) -&gt; up to  1 bf/chunk
    Page   65382 (0x07fb3000) -&gt; up to  1 bf/chunk
    Page   98624 (0x0c0a0000) -&gt; up to  1 bf/chunk
    Page  101952 (0x0c720000) -&gt; up to  1 bf/chunk
    Page  107584 (0x0d220000) -&gt; up to  1 bf/chunk
    Page  118208 (0x0e6e0000) -&gt; up to  1 bf/chunk
    Page  126656 (0x0f760000) -&gt; up to  1 bf/chunk
    Page  127680 (0x0f960000) -&gt; up to  1 bf/chunk
    Page  129920 (0x0fdc0000) -&gt; up to  1 bf/chunk
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

It is also possible to reduce the output with the .quiet suffix in order
to just show the summary.

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a debug command to monitor the retention state of the data on
the array. The command needs a duplication of the mtd_read_oob()
function to actually return the maximum number of bitflips encountered
while reading the page. We could write a specific implementation for the
Sunxi driver but this is probably enough.

    nand watch &lt;off&gt; &lt;size&gt; - check an area for bitflips
    nand watch.part &lt;part&gt; - check a partition for bitflips
    nand watch.chip - check the whole device for bitflips

The output may be a bit verbose and could look like:

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Page       0 (0x00000000) -&gt; error -74
    Page       1 (0x00000800) -&gt; error -74
    Page       2 (0x00001000) -&gt; error -74
    Page       3 (0x00001800) -&gt; error -74
    Page       4 (0x00002000) -&gt; error -74
    Page       5 (0x00002800) -&gt; error -74
    Page       6 (0x00003000) -&gt; error -74
    Page       7 (0x00003800) -&gt; error -74
    Page       8 (0x00004000) -&gt; error -74
    Page       9 (0x00004800) -&gt; error -74
    Page      10 (0x00005000) -&gt; error -74
    Page      11 (0x00005800) -&gt; error -74
    Page      12 (0x00006000) -&gt; error -74
    Page      13 (0x00006800) -&gt; error -74
    Page      14 (0x00007000) -&gt; error -74
    Page      15 (0x00007800) -&gt; error -74
    Page      16 (0x00008000) -&gt; error -74
    Page      17 (0x00008800) -&gt; error -74
    Page      18 (0x00009000) -&gt; error -74
    Page      19 (0x00009800) -&gt; error -74
    Page      20 (0x0000a000) -&gt; error -74
    Page      21 (0x0000a800) -&gt; error -74
    Page      22 (0x0000b000) -&gt; error -74
    Page      23 (0x0000b800) -&gt; error -74
    Page    1110 (0x0022b000) -&gt; up to  1 bf/chunk
    Page    1122 (0x00231000) -&gt; up to  1 bf/chunk
    Page    1132 (0x00236000) -&gt; up to  1 bf/chunk
    Page    1362 (0x002a9000) -&gt; up to  1 bf/chunk
    Page    4990 (0x009bf000) -&gt; up to  1 bf/chunk
    Page    5728 (0x00b30000) -&gt; up to  1 bf/chunk
    Page    7116 (0x00de6000) -&gt; up to  1 bf/chunk
    Page    7160 (0x00dfc000) -&gt; up to  1 bf/chunk
    Page    7494 (0x00ea3000) -&gt; up to  1 bf/chunk
    Page   10842 (0x0152d000) -&gt; up to  1 bf/chunk
    Page   11614 (0x016af000) -&gt; up to  1 bf/chunk
    Page   11970 (0x01761000) -&gt; up to  1 bf/chunk
    Page   12536 (0x0187c000) -&gt; up to  1 bf/chunk
    Page   12687 (0x018c7800) -&gt; up to  1 bf/chunk
    Page   14298 (0x01bed000) -&gt; up to  1 bf/chunk
    Page   18268 (0x023ae000) -&gt; up to  1 bf/chunk
    Page   18760 (0x024a4000) -&gt; up to  1 bf/chunk
    Page   21440 (0x029e0000) -&gt; up to  1 bf/chunk
    Page   22336 (0x02ba0000) -&gt; up to  1 bf/chunk
    Page   22592 (0x02c20000) -&gt; up to  1 bf/chunk
    Page   23872 (0x02ea0000) -&gt; up to  1 bf/chunk
    Page   27584 (0x035e0000) -&gt; up to  1 bf/chunk
    Page   35008 (0x04460000) -&gt; up to  1 bf/chunk
    Page   37184 (0x048a0000) -&gt; up to  1 bf/chunk
    Page   41728 (0x05180000) -&gt; up to  1 bf/chunk
    Page   42176 (0x05260000) -&gt; up to  1 bf/chunk
    Page   43200 (0x05460000) -&gt; up to  1 bf/chunk
    Page   43328 (0x054a0000) -&gt; up to  1 bf/chunk
    Page   45376 (0x058a0000) -&gt; up to  1 bf/chunk
    Page   47040 (0x05be0000) -&gt; up to  1 bf/chunk
    Page   47552 (0x05ce0000) -&gt; up to  1 bf/chunk
    Page   49344 (0x06060000) -&gt; up to  1 bf/chunk
    Page   49856 (0x06160000) -&gt; up to  1 bf/chunk
    Page   62784 (0x07aa0000) -&gt; up to  1 bf/chunk
    Page   65153 (0x07f40800) -&gt; up to  1 bf/chunk
    Page   65228 (0x07f66000) -&gt; up to  1 bf/chunk
    Page   65382 (0x07fb3000) -&gt; up to  1 bf/chunk
    Page   98624 (0x0c0a0000) -&gt; up to  1 bf/chunk
    Page  101952 (0x0c720000) -&gt; up to  1 bf/chunk
    Page  107584 (0x0d220000) -&gt; up to  1 bf/chunk
    Page  118208 (0x0e6e0000) -&gt; up to  1 bf/chunk
    Page  126656 (0x0f760000) -&gt; up to  1 bf/chunk
    Page  127680 (0x0f960000) -&gt; up to  1 bf/chunk
    Page  129920 (0x0fdc0000) -&gt; up to  1 bf/chunk
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

It is also possible to reduce the output with the .quiet suffix in order
to just show the summary.

    =&gt; nand watch.chip
    device 0 whole chip
    size adjusted to 0xff60000 (5 bad blocks)

    NAND watch for bitflips in area 0x0-0xff60000:
    Maximum number of bitflips: 1
    Pages with bitflips: 44/130752

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Signed-off-by: Michael Trimarchi &lt;michael@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: mtd: Remove duplicate newlines</title>
<updated>2024-07-22T16:53:05+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@mailbox.org</email>
</author>
<published>2024-07-20T12:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a7dd2d1d6eafc229a6974a4334ea7c3a58026c5c'/>
<id>a7dd2d1d6eafc229a6974a4334ea7c3a58026c5c</id>
<content type='text'>
Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: replace @return by Return:</title>
<updated>2022-01-19T17:11:34+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2022-01-19T17:05:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=185f812c419f1b4f0d10d9787d59cf9f11a2a600'/>
<id>185f812c419f1b4f0d10d9787d59cf9f11a2a600</id>
<content type='text'>
Sphinx expects Return: and not @return to indicate a return value.

find . -name '*.c' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

find . -name '*.h' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sphinx expects Return: and not @return to indicate a return value.

find . -name '*.c' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

find . -name '*.h' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: Remove mtd_erase_callback() entirely</title>
<updated>2021-10-23T10:17:33+00:00</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-10-05T13:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0d1ecc99cb59c2190257f7738f91db21f174dc02'/>
<id>0d1ecc99cb59c2190257f7738f91db21f174dc02</id>
<content type='text'>
The original purpose of mtd_erase_callback() in Linux at the time it was
imported to U-Boot, was to inform the caller that erasing is done (since
it was an asynchronous operation).

All supplied callback methods in U-Boot do nothing, but the
mtd_erase_callback() function was (until previous patch) grossly abused
in U-Boot's mtdpart implementation for completely different purpose.

Since we got rid of the abusement, remove the mtd_erase_callback()
function and the .callback member from struct erase_info entirely, in
order to avoid such problems in the future.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The original purpose of mtd_erase_callback() in Linux at the time it was
imported to U-Boot, was to inform the caller that erasing is done (since
it was an asynchronous operation).

All supplied callback methods in U-Boot do nothing, but the
mtd_erase_callback() function was (until previous patch) grossly abused
in U-Boot's mtdpart implementation for completely different purpose.

Since we got rid of the abusement, remove the mtd_erase_callback()
function and the .callback member from struct erase_info entirely, in
order to avoid such problems in the future.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WS cleanup: remove SPACE(s) followed by TAB</title>
<updated>2021-09-30T13:08:16+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2021-09-27T15:42:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0cf207ec01cbacae47585fcc26591dd2296507d6'/>
<id>0cf207ec01cbacae47585fcc26591dd2296507d6</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WS cleanup: remove trailing white space</title>
<updated>2021-09-30T12:08:56+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2021-09-27T15:42:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0a50b3c97b3408e52589d873d4c7b54ad365a76c'/>
<id>0a50b3c97b3408e52589d873d4c7b54ad365a76c</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@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>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: compare also with OF path and device name in get_mtd_device_nm()</title>
<updated>2021-06-24T06:24:57+00:00</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-26T12:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dcb9a80359d699cf659c95b9b6e6604e2d68adb9'/>
<id>dcb9a80359d699cf659c95b9b6e6604e2d68adb9</id>
<content type='text'>
The get_mtd_device_nm() function (code imported from Linux) simply
iterates all registered MTD devices and compares the given name with
all MTDs' names.

With SPI_FLASH_MTD enabled U-Boot registers a SPI-NOR as a MTD device
with name identical to the SPI flash chip name (from SPI ID table). Thus
for a board with multiple same SPI-NORs it registers multiple MTDs, but
all with the same name (such as "s25fl164k"). We do not want to change
this behaviour, since such a change could break existing boot scripts,
which can rely on a hardcoded name.

In order to allow somehow to uniqely select a MTD device, change
get_mtd_device_nm() function as such:
- if first character of name is '/', try interpreting it as OF path
- otherwise compare the name with MTDs name and MTDs device name.

In the following example a board has two "s25fl164k" SPI-NORs. They both
have name "s25fl164k", thus cannot be uniquely selected via this name.
With this change, the user can select the second SPI-NOR either with
"spi-nor@1" or "/soc/spi@10600/spi-nor@1".

Example:
  =&gt; mtd list
  List of MTD devices:
  * s25fl164k
    - device: spi-nor@0
    - parent: spi@10600
    - driver: jedec_spi_nor
    - path: /soc/spi@10600/spi-nor@0
    - type: NOR flash
    - block size: 0x1000 bytes
    - min I/O: 0x1 bytes
    - 0x000000000000-0x000000800000 : "s25fl164k"
  * s25fl164k
    - device: spi-nor@1
    - parent: spi@10600
    - driver: jedec_spi_nor
    - path: /soc/spi@10600/spi-nor@1
    - type: NOR flash
    - block size: 0x1000 bytes
    - min I/O: 0x1 bytes
    - 0x000000000000-0x000000800000 : "s25fl164k"

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Tested-by: Patrice Chotard &lt;patrice.chotard@foss.st.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Cc: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The get_mtd_device_nm() function (code imported from Linux) simply
iterates all registered MTD devices and compares the given name with
all MTDs' names.

With SPI_FLASH_MTD enabled U-Boot registers a SPI-NOR as a MTD device
with name identical to the SPI flash chip name (from SPI ID table). Thus
for a board with multiple same SPI-NORs it registers multiple MTDs, but
all with the same name (such as "s25fl164k"). We do not want to change
this behaviour, since such a change could break existing boot scripts,
which can rely on a hardcoded name.

In order to allow somehow to uniqely select a MTD device, change
get_mtd_device_nm() function as such:
- if first character of name is '/', try interpreting it as OF path
- otherwise compare the name with MTDs name and MTDs device name.

In the following example a board has two "s25fl164k" SPI-NORs. They both
have name "s25fl164k", thus cannot be uniquely selected via this name.
With this change, the user can select the second SPI-NOR either with
"spi-nor@1" or "/soc/spi@10600/spi-nor@1".

Example:
  =&gt; mtd list
  List of MTD devices:
  * s25fl164k
    - device: spi-nor@0
    - parent: spi@10600
    - driver: jedec_spi_nor
    - path: /soc/spi@10600/spi-nor@0
    - type: NOR flash
    - block size: 0x1000 bytes
    - min I/O: 0x1 bytes
    - 0x000000000000-0x000000800000 : "s25fl164k"
  * s25fl164k
    - device: spi-nor@1
    - parent: spi@10600
    - driver: jedec_spi_nor
    - path: /soc/spi@10600/spi-nor@1
    - type: NOR flash
    - block size: 0x1000 bytes
    - min I/O: 0x1 bytes
    - 0x000000000000-0x000000800000 : "s25fl164k"

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Tested-by: Patrice Chotard &lt;patrice.chotard@foss.st.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Cc: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: misplaced log.h and dm/devres.h</title>
<updated>2021-01-17T00:17:11+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-01-03T15:10:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bcb0203c616b907ee39a131693a8718eef338c7b'/>
<id>bcb0203c616b907ee39a131693a8718eef338c7b</id>
<content type='text'>
log.h and dm/devres.h are U-Boot includes. So placing them
behind #ifndef __UBOOT__ does not make any sense.

Fixes: f7ae49fc4f36 ("common: Drop log.h from common header")
Fixes: 61b29b826838 ("dm: core: Require users of devres to include the header")
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
log.h and dm/devres.h are U-Boot includes. So placing them
behind #ifndef __UBOOT__ does not make any sense.

Fixes: f7ae49fc4f36 ("common: Drop log.h from common header")
Fixes: 61b29b826838 ("dm: core: Require users of devres to include the header")
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Drop linux/bitops.h from common header</title>
<updated>2020-05-19T01:19:23+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-10T17:40:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cd93d625fd751d55c729c78b10f82109d56a5f1d'/>
<id>cd93d625fd751d55c729c78b10f82109d56a5f1d</id>
<content type='text'>
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Drop linux/bug.h from common header</title>
<updated>2020-05-19T01:19:23+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-10T17:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eb41d8a1befc45a30ccdab68fa3e099528486ffe'/>
<id>eb41d8a1befc45a30ccdab68fa3e099528486ffe</id>
<content type='text'>
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
