<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/drivers/partition/gpt.c, branch master</title>
<subtitle>Broadcom-s Trusted Firmware A</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/atf/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/atf/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/'/>
<updated>2019-09-18T10:18:20Z</updated>
<entry>
<title>drivers: partition: support different block size</title>
<updated>2019-09-18T10:18:20Z</updated>
<author>
<name>Haojian Zhuang</name>
</author>
<published>2019-09-14T10:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=f8631f51392f0688c70cfd53dc66422404e00e16'/>
<id>urn:sha1:f8631f51392f0688c70cfd53dc66422404e00e16</id>
<content type='text'>
The block size of some storage device is 4096-byte long, such as UFS. But
PARTITION_BLOCK_SIZE is defined as 512-byte long. So replace it by
PLAT_PARTITION_BLOCK_SIZE. Make it configurable in platform.

Signed-off-by: Haojian Zhuang &lt;haojian.zhuang@linaro.org&gt;
Change-Id: Iada05f7c646d0a0f2c0d3b8545540b3cb7153de3
</content>
</entry>
<entry>
<title>Sanitise includes across codebase</title>
<updated>2019-01-04T10:43:17Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-12-14T00:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=09d40e0e08283a249e7dce0e106c07c5141f9b7e'/>
<id>urn:sha1:09d40e0e08283a249e7dce0e106c07c5141f9b7e</id>
<content type='text'>
Enforce full include path for includes. Deprecate old paths.

The following folders inside include/lib have been left unchanged:

- include/lib/cpus/${ARCH}
- include/lib/el3_runtime/${ARCH}

The reason for this change is that having a global namespace for
includes isn't a good idea. It defeats one of the advantages of having
folders and it introduces problems that are sometimes subtle (because
you may not know the header you are actually including if there are two
of them).

For example, this patch had to be created because two headers were
called the same way: e0ea0928d5b7 ("Fix gpio includes of mt8173 platform
to avoid collision."). More recently, this patch has had similar
problems: 46f9b2c3a282 ("drivers: add tzc380 support").

This problem was introduced in commit 4ecca33988b9 ("Move include and
source files to logical locations"). At that time, there weren't too
many headers so it wasn't a real issue. However, time has shown that
this creates problems.

Platforms that want to preserve the way they include headers may add the
removed paths to PLAT_INCLUDES, but this is discouraged.

Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8f
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>drivers: partition: correct some static analysis tools issues</title>
<updated>2018-11-09T17:22:01Z</updated>
<author>
<name>Yann Gautier</name>
</author>
<published>2018-11-09T17:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=4cb17707b5c83e47477d743cb1129fc0c75a15c1'/>
<id>urn:sha1:4cb17707b5c83e47477d743cb1129fc0c75a15c1</id>
<content type='text'>
cppcheck:
[drivers/partition/gpt.c:19] -&gt; [drivers/partition/gpt.c:19]:
 (warning) Either the condition 'str_in!=((void*)0)' is redundant
 or there is possible null pointer dereference: name.

sparse:
drivers/partition/gpt.c:39:9:
 warning: Using plain integer as NULL pointer

Signed-off-by: Yann Gautier &lt;yann.gautier@st.com&gt;
</content>
</entry>
<entry>
<title>Use SPDX license identifiers</title>
<updated>2017-05-03T08:39:28Z</updated>
<author>
<name>dp-arm</name>
</author>
<published>2017-05-03T08:38:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=82cb2c1ad9897473743f08437d0a3995bed561b9'/>
<id>urn:sha1:82cb2c1ad9897473743f08437d0a3995bed561b9</id>
<content type='text'>
To make software license auditing simpler, use SPDX[0] license
identifiers instead of duplicating the license text in every file.

NOTE: Files that have been imported by FreeBSD have not been modified.

[0]: https://spdx.org/

Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761a
Signed-off-by: dp-arm &lt;dimitris.papastamos@arm.com&gt;
</content>
</entry>
<entry>
<title>Replace some memset call by zeromem</title>
<updated>2017-02-06T17:01:39Z</updated>
<author>
<name>Douglas Raillard</name>
</author>
<published>2017-01-26T15:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=32f0d3c6c3fb1fb9353ec0b82ddb099281b9328c'/>
<id>urn:sha1:32f0d3c6c3fb1fb9353ec0b82ddb099281b9328c</id>
<content type='text'>
Replace all use of memset by zeromem when zeroing moderately-sized
structure by applying the following transformation:
memset(x, 0, sizeof(x)) =&gt; zeromem(x, sizeof(x))

As the Trusted Firmware is compiled with -ffreestanding, it forbids the
compiler from using __builtin_memset and forces it to generate calls to
the slow memset implementation. Zeromem is a near drop in replacement
for this use case, with a more efficient implementation on both AArch32
and AArch64.

Change-Id: Ia7f3a90e888b96d056881be09f0b4d65b41aa79e
Signed-off-by: Douglas Raillard &lt;douglas.raillard@arm.com&gt;
</content>
</entry>
<entry>
<title>partition: check GPT partition table</title>
<updated>2016-09-20T05:19:32Z</updated>
<author>
<name>Haojian Zhuang</name>
</author>
<published>2016-07-28T06:19:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=201b66b7e7a49d7d44f2c31639b87c84e37df0eb'/>
<id>urn:sha1:201b66b7e7a49d7d44f2c31639b87c84e37df0eb</id>
<content type='text'>
Now only support GPT partition table. MBR partition table isn't
supported yet.

Signed-off-by: Haojian Zhuang &lt;haojian.zhuang@linaro.org&gt;
</content>
</entry>
</feed>
