<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/drivers/partition, 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>drivers: partition: Add simple MBR partition entries support</title>
<updated>2019-02-13T06:26:15Z</updated>
<author>
<name>Loh Tien Hock</name>
</author>
<published>2019-02-11T02:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=30f833cabdae5ffdda2bf78210dbbacf6c96d0da'/>
<id>urn:sha1:30f833cabdae5ffdda2bf78210dbbacf6c96d0da</id>
<content type='text'>
This is to add simple MBR partition entry support. This will read all four
MBR partition into the partition list, and the partition type will be saved
in the list.name[0] entry.

Signed-off-by: Loh Tien Hock &lt;tien.hock.loh@intel.com&gt;
</content>
</entry>
<entry>
<title>Change some vars and functions to be static.</title>
<updated>2019-01-27T13:30:12Z</updated>
<author>
<name>Florian La Roche</name>
</author>
<published>2019-01-27T13:30:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=9822852967919819a6c5f4c47436379742d8aad5'/>
<id>urn:sha1:9822852967919819a6c5f4c47436379742d8aad5</id>
<content type='text'>
Signed-off-by: Florian La Roche &lt;Florian.LaRoche@gmail.com&gt;
</content>
</entry>
<entry>
<title>Correct typographical errors</title>
<updated>2019-01-15T15:16:02Z</updated>
<author>
<name>Paul Beesley</name>
</author>
<published>2019-01-11T18:26:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=8aabea3358670f26cfa9eb99f8cd935d928f6da0'/>
<id>urn:sha1:8aabea3358670f26cfa9eb99f8cd935d928f6da0</id>
<content type='text'>
Corrects typos in core code, documentation files, drivers, Arm
platforms and services.

None of the corrections affect code; changes are limited to comments
and other documentation.

Change-Id: I5c1027b06ef149864f315ccc0ea473e2a16bfd1d
Signed-off-by: Paul Beesley &lt;paul.beesley@arm.com&gt;
</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>drivers: partition: correct compilation error in VERBOSE mode</title>
<updated>2018-10-11T12:39:49Z</updated>
<author>
<name>Yann Gautier</name>
</author>
<published>2018-10-04T17:04:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=e7f9ab4e5a9a032b5e974e4b1e0c43d25ff1f032'/>
<id>urn:sha1:e7f9ab4e5a9a032b5e974e4b1e0c43d25ff1f032</id>
<content type='text'>
Signed-off-by: Yann Gautier &lt;yann.gautier@st.com&gt;
</content>
</entry>
<entry>
<title>libc: Use printf and snprintf across codebase</title>
<updated>2018-08-22T09:26:05Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-08-16T15:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=39b6cc66d670be41d6b51b644beb675f386a4240'/>
<id>urn:sha1:39b6cc66d670be41d6b51b644beb675f386a4240</id>
<content type='text'>
tf_printf and tf_snprintf are now called printf and snprintf, so the
code needs to be updated.

Change-Id: Iffeee97afcd6328c4c2d30830d4923b964682d71
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>Replace stdio.h functions by TF functions</title>
<updated>2018-08-10T08:36:18Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-08-09T14:30:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=6a23356c4f70d1407c094ea2ea3e21e8a657c1c3'/>
<id>urn:sha1:6a23356c4f70d1407c094ea2ea3e21e8a657c1c3</id>
<content type='text'>
Functions provided by stdio.h such as printf and sprintf are available
in the codebase, but they add a lot of code to the final image if they
are used:

- AArch64: ~4KB
- AArch32: ~2KB in T32, ~3KB in A32

tf_printf and tf_snprintf are a lot more simple, but it is preferable
to use them when possible because they are also used in common code.

Change-Id: Id09fd2b486198fe3d79276e2c27931595b7ba60e
Acked-by: Haojian Zhuang &lt;haojian.zhuang@linaro.org&gt;
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>Fix order of #includes</title>
<updated>2017-07-12T13:45:31Z</updated>
<author>
<name>Isla Mitchell</name>
</author>
<published>2017-07-11T13:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=2a4b4b71ba8a14148708719077d80889faa6f47b'/>
<id>urn:sha1:2a4b4b71ba8a14148708719077d80889faa6f47b</id>
<content type='text'>
This fix modifies the order of system includes to meet the ARM TF coding
standard. There are some exceptions in order to retain header groupings,
minimise changes to imported headers, and where there are headers within
the #if and #ifndef statements.

Change-Id: I65085a142ba6a83792b26efb47df1329153f1624
Signed-off-by: Isla Mitchell &lt;isla.mitchell@arm.com&gt;
</content>
</entry>
</feed>
