<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/u-boot.git/include, branch visionfive_devel</title>
<subtitle>StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=visionfive_devel</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=visionfive_devel'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/'/>
<updated>2021-09-29T10:52:52+00:00</updated>
<entry>
<title>TF Image: modify uboot env variable to support booting from tf card</title>
<updated>2021-09-29T10:52:52+00:00</updated>
<author>
<name>sw.multimedia</name>
<email>sw.multimedia@starfivetech.com</email>
</author>
<published>2021-09-29T10:52:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=649230306040264cc749ad2bfb68d6d21a2921ed'/>
<id>urn:sha1:649230306040264cc749ad2bfb68d6d21a2921ed</id>
<content type='text'>
Signed-off-by: sw.multimedia &lt;sw.multimedia@starfivetech.com&gt;
Signed-off-by: Curry Zhang &lt;curry.zhang@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>starfive: apply the pinctl to dts</title>
<updated>2021-09-29T06:51:22+00:00</updated>
<author>
<name>sw.multimedia</name>
<email>sw.multimedia@starfivetech.com</email>
</author>
<published>2021-09-03T14:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=b9512dffcc066bc33a69c5b47e5c30d6a7209726'/>
<id>urn:sha1:b9512dffcc066bc33a69c5b47e5c30d6a7209726</id>
<content type='text'>
</content>
</entry>
<entry>
<title>starfive: Porting jh7100-beaglev-starlight.dts from linux</title>
<updated>2021-09-29T06:51:21+00:00</updated>
<author>
<name>TekkamanV</name>
<email>tekkamanv@starfivetech.com</email>
</author>
<published>2021-08-23T07:26:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=8ae2abd360ee499d4298e471c7a3a3ab0286f65a'/>
<id>urn:sha1:8ae2abd360ee499d4298e471c7a3a3ab0286f65a</id>
<content type='text'>
https://github.com/starfive-tech/linux/tree/beaglev
</content>
</entry>
<entry>
<title>starfive: Add JH7100 support</title>
<updated>2021-09-29T06:51:21+00:00</updated>
<author>
<name>TekkamanV</name>
<email>tekkamanv@starfivetech.com</email>
</author>
<published>2021-08-16T12:20:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=c3f9ce08df88cc808e39cadce6897c4911ce86c0'/>
<id>urn:sha1:c3f9ce08df88cc808e39cadce6897c4911ce86c0</id>
<content type='text'>
This patch adds StarFive JH7100 main support, including Starlight and EVB
support, ported from StarFive HiFive_U-Boot REPO.

    The original authors are
    bo.li &lt;bo.li@starfivetech.com&gt;
    Chenjieqin &lt;Jessica.Chen@starfivetech.com&gt;
    Huan.Feng &lt;huan.feng@starfivetech.com&gt;
    jack.zhu &lt;jack.zhu@starfivetech.com&gt;
    Jianlong Huang &lt;jianlong.huang@starfivetech.com&gt;
    ke.zhu &lt;ke.zhu@starfivetech.com&gt;
    Micheal Zhu &lt;michael.zhu@starfivetech.com&gt;
    Samin Guo &lt;samin.guo@starfivetech.com&gt;
    yanhong.wang &lt;yanhong.wang@starfivetech.com&gt;
    yiming.li &lt;yiming.li@starfivetech.com&gt;

Note:
    1, disable BTRFS(will trigger a link error with *some* RV64 GCC)
    But RV64 GCC on Fedora works well with enabling BTRFS.

    BTRFS will select ZSTD which will trigger a link error with
    *some* RV64 GCC:
    ---
    riscv64-unknown-linux-gnu-ld.bfd: /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clzsi2.o): can't link double-float modules with soft-float modules
    riscv64-unknown-linux-gnu-ld.bfd: failed to merge target specific data of file /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clzsi2.o)
    riscv64-unknown-linux-gnu-ld.bfd: /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clz.o): can't link double-float modules with soft-float modules
    riscv64-unknown-linux-gnu-ld.bfd: failed to merge target specific data of file /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/libgcc.a(_clz.o)
    make: *** [Makefile:1787: u-boot] Error 1
    ---

    2, enable OF_SEPARATE:
    This is required so that openSBI can add itself to /reserved-memory, and
    let EFI know about it.

    By Andreas Schwab &lt;schwab@suse.de&gt;

    3, Set default fdtfile name

    By Andreas Schwab &lt;schwab@suse.de&gt;
</content>
</entry>
<entry>
<title>cache: add flush_range interface in cache_ops struct</title>
<updated>2021-09-29T06:51:21+00:00</updated>
<author>
<name>TekkamanV</name>
<email>tekkamanv@starfivetech.com</email>
</author>
<published>2021-09-19T06:12:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=ec56b4f5ea2f9a0a93047c20c5fe3b2c0cdf6f96'/>
<id>urn:sha1:ec56b4f5ea2f9a0a93047c20c5fe3b2c0cdf6f96</id>
<content type='text'>
Signed-off-by: TekkamanV &lt;tekkamanv@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: raw: convert nand_dt_init() to ofnode_xx() interface</title>
<updated>2021-09-28T16:03:21+00:00</updated>
<author>
<name>Patrice Chotard</name>
<email>patrice.chotard@foss.st.com</email>
</author>
<published>2021-09-13T14:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=b8919eaa6835c8a606569ea596dd4ed209bd1d67'/>
<id>urn:sha1:b8919eaa6835c8a606569ea596dd4ed209bd1d67</id>
<content type='text'>
nand_dt_init() is still using fdtdec_xx() interface.
If OF_LIVE flag is enabled, dt property can't be get anymore.
Updating all fdtdec_xx() interface to ofnode_xx() to solve this issue.

For doing this, node parameter type must be ofnode.

First idea was to convert "node" parameter to ofnode type inside
nand_dt_init() using offset_to_ofnode(node). But offset_to_ofnode()
is not bijective, in case OF_LIVE flag is enabled, it performs an assert().

So, this leads to update nand_chip struct flash_node field from int to
ofnode and to update all nand_dt_init() callers.

Signed-off-by: Patrice Chotard &lt;patrice.chotard@foss.st.com&gt;
</content>
</entry>
<entry>
<title>mtd: spi: nor: force mtd name to "nor%d"</title>
<updated>2021-09-28T16:03:20+00:00</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-09-22T16:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=a4f2d83414557f2ad7b63d537e2c31790d0f184d'/>
<id>urn:sha1:a4f2d83414557f2ad7b63d537e2c31790d0f184d</id>
<content type='text'>
Force the mtd name of spi-nor to "nor" + the driver sequence number:
"nor0", "nor1"... beginning after the existing nor devices.

This patch is coherent with existing "nand" and "spi-nand"
mtd device names.

When CFI MTD NOR device are supported, the spi-nor index is chosen after
the last CFI device defined by CONFIG_SYS_MAX_FLASH_BANKS.

When CONFIG_SYS_MAX_FLASH_BANKS_DETECT is activated, this config
is replaced by to cfi_flash_num_flash_banks in the include file
mtd/cfi_flash.h.

This generic name "nor%d" can be use to identify the mtd spi-nor device
without knowing the real device name or the DT path of the device,
used with API get_mtd_device_nm() and is used in mtdparts command.

This patch also avoids issue when the same NOR device is present 2 times,
for example on STM32MP15F-EV1:

STM32MP&gt; mtd list
SF: Detected mx66l51235l with page size 256 Bytes, erase size 64 KiB, \
total 64 MiB

List of MTD devices:
* nand0
  - type: NAND flash
  - block size: 0x40000 bytes
  - min I/O: 0x1000 bytes
  - OOB size: 224 bytes
  - OOB available: 118 bytes
  - ECC strength: 8 bits
  - ECC step size: 512 bytes
  - bitflip threshold: 6 bits
  - 0x000000000000-0x000040000000 : "nand0"
* mx66l51235l
  - device: mx66l51235l@0
  - parent: spi@58003000
  - driver: jedec_spi_nor
  - path: /soc/spi@58003000/mx66l51235l@0
  - type: NOR flash
  - block size: 0x10000 bytes
  - min I/O: 0x1 bytes
  - 0x000000000000-0x000004000000 : "mx66l51235l"
* mx66l51235l
  - device: mx66l51235l@1
  - parent: spi@58003000
  - driver: jedec_spi_nor
  - path: /soc/spi@58003000/mx66l51235l@1
  - type: NOR flash
  - block size: 0x10000 bytes
  - min I/O: 0x1 bytes
  - 0x000000000000-0x000004000000 : "mx66l51235l"

The same mtd name "mx66l51235l" identify the 2 instances
mx66l51235l@0 and mx66l51235l@1.

This patch fixes a ST32CubeProgrammer / stm32prog command issue
with nor0 target on STM32MP157C-EV1 board introduced by
commit b7f060565e31 ("mtd: spi-nor: allow registering multiple MTDs when
DM is enabled").

Fixes: b7f060565e31 ("mtd: spi-nor: allow registering multiple MTDs when DM is enabled")
Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
[trini: Add &lt;dm/device.h&gt; to &lt;mtd.h&gt; for DM_MAX_SEQ_STR]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>mtd: cfi_flash: use cfi_flash_num_flash_banks only when supported</title>
<updated>2021-09-28T12:35:19+00:00</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-09-22T16:29:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=b218f865e8a7defdcb2c6d87e8d93f9ea7e4e9f5'/>
<id>urn:sha1:b218f865e8a7defdcb2c6d87e8d93f9ea7e4e9f5</id>
<content type='text'>
When CONFIG_SYS_MAX_FLASH_BANKS_DETECT is activated,
CONFIG_SYS_MAX_FLASH_BANKS is replaced by cfi_flash_num_flash_banks,
but this variable is defined in drivers/mtd/cfi_flash.c, which is
compiled only when CONFIG_FLASH_CFI_DRIVER is activated, in U-Boot
or in SPL when CONFIG_SPL_MTD_SUPPORT is activated.

This patch deactivates this feature CONFIG_SYS_MAX_FLASH_BANKS_DETECT
when flash cfi driver is not activated to avoid compilation issue in
the next patch, when CONFIG_SYS_MAX_FLASH_BANKS is used in spi_nor_scan().

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
</content>
</entry>
<entry>
<title>efi_loader: Fix spec ID event creation</title>
<updated>2021-09-25T10:31:08+00:00</updated>
<author>
<name>Ruchika Gupta</name>
<email>ruchika.gupta@linaro.org</email>
</author>
<published>2021-09-14T06:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=346cee3ac5782fefeaeda2b54914b029547adf52'/>
<id>urn:sha1:346cee3ac5782fefeaeda2b54914b029547adf52</id>
<content type='text'>
TCG EFI Protocol Specification defines the number_of_algorithms
field in spec ID event to be equal to the number of active
algorithms supported by the TPM device. In current implementation,
this field is populated with the count of all algorithms supported
by the TPM which leads to incorrect spec ID event creation.

Similarly, the algorithm array in spec ID event should be a variable
length array with length being equal to the number_of_algorithms field.
In current implementation this is defined as a fixed length array
which has been fixed.

Signed-off-by: Ruchika Gupta &lt;ruchika.gupta@linaro.org&gt;
CC: Masahisa Kojima &lt;masahisa.kojima@linaro.org&gt;
CC: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
CC: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>mtd: remove SPEAr flash driver st_smi</title>
<updated>2021-09-24T16:09:47+00:00</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-09-22T09:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=b071431d52e38220f4627e21c61ea82e47680e2f'/>
<id>urn:sha1:b071431d52e38220f4627e21c61ea82e47680e2f</id>
<content type='text'>
Remove the driver st_smic.c used in SPEAr products and the associated
config CONFIG_ST_SMI; this driver is no more used in U-Boot after the
commit 570c3dcfc153 ("arm: Remove spear600 boards and the rest of SPEAr
support").

Fixes: 570c3dcfc153 ("arm: Remove spear600 boards and the rest of SPEAr support")
Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
