<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/include/lib/pmf, branch master</title>
<subtitle>Broadcom-s Trusted Firmware A</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/atf/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/'/>
<updated>2019-01-04T10:43:17Z</updated>
<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-03.infra.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>Standardise header guards across codebase</title>
<updated>2018-11-08T10:20:19Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-11-08T10:20:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84'/>
<id>urn:sha1:c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84</id>
<content type='text'>
All identifiers, regardless of use, that start with two underscores are
reserved. This means they can't be used in header guards.

The style that this project is now to use the full name of the file in
capital letters followed by 'H'. For example, for a file called
"uart_example.h", the header guard is UART_EXAMPLE_H.

The exceptions are files that are imported from other projects:

- CryptoCell driver
- dt-bindings folders
- zlib headers

Change-Id: I50561bf6c88b491ec440d0c8385c74650f3c106e
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>Fix MISRA defects in PMF</title>
<updated>2018-10-29T14:42:39Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-10-25T16:38:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=195e363f84c080bc0e8f3799391164fff1aece70'/>
<id>urn:sha1:195e363f84c080bc0e8f3799391164fff1aece70</id>
<content type='text'>
No functional changes.

Change-Id: I64abd72026082218a40b1a4b8f7dc26ff2478ba6
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>PIE: Use PC relative adrp/adr for symbol reference</title>
<updated>2018-10-29T09:54:31Z</updated>
<author>
<name>Soby Mathew</name>
</author>
<published>2018-10-12T15:40:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=f1722b693d363cc6a2b624d59f0442bf845baf62'/>
<id>urn:sha1:f1722b693d363cc6a2b624d59f0442bf845baf62</id>
<content type='text'>
This patch fixes up the AArch64 assembly code to use
adrp/adr instructions instead of ldr instruction for
reference to symbols. This allows these assembly
sequences to be Position Independant. Note that the
the reference to sizes have been replaced with
calculation of size at runtime. This is because size
is a constant value and does not depend on execution
address and using PC relative instructions for loading
them makes them relative to execution address. Also
we cannot use `ldr` instruction to load size as it
generates a dynamic relocation entry which must *not*
be fixed up and it is difficult for a dynamic loader
to differentiate which entries need to be skipped.

Change-Id: I8bf4ed5c58a9703629e5498a27624500ef40a836
Signed-off-by: Soby Mathew &lt;soby.mathew@arm.com&gt;
</content>
</entry>
<entry>
<title>Remove some MISRA defects in common code</title>
<updated>2018-10-04T14:43:52Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-10-04T08:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=81542c00d0d3d0609cfedf91f8d6f455672af684'/>
<id>urn:sha1:81542c00d0d3d0609cfedf91f8d6f455672af684</id>
<content type='text'>
No functional changes.

Change-Id: I9638e02acb9b22eb794ebf45aad84348a710287e
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>PMF: Fix MISRA defects</title>
<updated>2018-07-20T12:27:31Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-07-18T12:26:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=bef9a10fe4b910767b94533f318cfaabe0e0ee01'/>
<id>urn:sha1:bef9a10fe4b910767b94533f318cfaabe0e0ee01</id>
<content type='text'>
Fix instances of MISRA C-2012 Rule 10.1 and 21.1.

Change-Id: I5676edede0703481e3635be0bc4a635df8e48f5e
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>lib: fix switch statements to comply with MISRA rules</title>
<updated>2018-03-26T11:43:05Z</updated>
<author>
<name>Jonathan Wright</name>
</author>
<published>2018-03-13T17:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07'/>
<id>urn:sha1:3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07</id>
<content type='text'>
Ensure (where possible) that switch statements in lib comply with MISRA
rules 16.1 - 16.7.

Change-Id: I52bc896fb7094d2b7569285686ee89f39f1ddd84
Signed-off-by: Jonathan Wright &lt;jonathan.wright@arm.com&gt;
</content>
</entry>
<entry>
<title>Fix MISRA rule 8.4 Part 1</title>
<updated>2018-02-28T17:19:55Z</updated>
<author>
<name>Roberto Vargas</name>
</author>
<published>2018-02-12T12:36:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=1af540ef2a09797c3a22c40c340facd4b2f47c2f'/>
<id>urn:sha1:1af540ef2a09797c3a22c40c340facd4b2f47c2f</id>
<content type='text'>
Rule 8.4: A compatible declaration shall be visible when
          an object or function with external linkage is defined

Fixed for:
	make DEBUG=1 PLAT=fvp LOG_LEVEL=50 all

Change-Id: I7c2ad3f5c015411c202605851240d5347e4cc8c7
Signed-off-by: Roberto Vargas &lt;roberto.vargas@arm.com&gt;
</content>
</entry>
<entry>
<title>Fix MISRA rule 8.3 in common code</title>
<updated>2018-02-28T17:18:21Z</updated>
<author>
<name>Roberto Vargas</name>
</author>
<published>2018-02-12T12:36:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=9fb8af33c40f21becde99fc15db73b1f4d82059c'/>
<id>urn:sha1:9fb8af33c40f21becde99fc15db73b1f4d82059c</id>
<content type='text'>
Rule 8.3: All declarations of an object or function shall
          use the same names and type qualifiers.

Change-Id: Iff384187c74a598a4e73f350a1893b60e9d16cec
Signed-off-by: Roberto Vargas &lt;roberto.vargas@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-03.infra.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>
