<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/drivers/arm/cci/cci.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-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.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>Mark GICV3, CCI and CCN boot time code as init</title>
<updated>2018-10-03T10:48:15Z</updated>
<author>
<name>Daniel Boulby</name>
</author>
<published>2018-09-18T12:36:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=c9263e62a749610c880bdc693e4e644bd9091611'/>
<id>urn:sha1:c9263e62a749610c880bdc693e4e644bd9091611</id>
<content type='text'>
Mark the GICv3, CCI and CCN code only used in Bl31 initialization
with __init to be reclaimed once no longer needed.

Change-Id: I3d77f36758450d9d1d87ecc60bc1c63fe4082667
Signed-off-by: Daniel Boulby &lt;daniel.boulby@arm.com&gt;
</content>
</entry>
<entry>
<title>drivers: cci: Fix MISRA defects</title>
<updated>2018-08-30T08:22:34Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-08-23T09:19:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=4213e9bacd4cfd98e19963af87a70320be73a1af'/>
<id>urn:sha1:4213e9bacd4cfd98e19963af87a70320be73a1af</id>
<content type='text'>
Change-Id: Ifdb0ceec19d267b14d796b5d31f08f7342190484
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>cci: Use dsb to wait before reading status register</title>
<updated>2018-08-13T13:20:30Z</updated>
<author>
<name>Roberto Vargas</name>
</author>
<published>2018-08-13T13:17:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=fcb52dbf16eaf509dbdc8c1c37c5b2bd819b0de5'/>
<id>urn:sha1:fcb52dbf16eaf509dbdc8c1c37c5b2bd819b0de5</id>
<content type='text'>
The CCI500 TRM explicitily requires completion of the write
operation before the read operation, and it is not guaranteed
by dmb but it is dsb.

Change-Id: Ieeaa0d1a4b8fcb87108dea9b6de03d9c8a150829
Signed-off-by: Roberto Vargas &lt;roberto.vargas@arm.com&gt;
</content>
</entry>
<entry>
<title>cci: Wait before reading status register</title>
<updated>2018-07-19T11:51:52Z</updated>
<author>
<name>Roberto Vargas</name>
</author>
<published>2018-07-18T10:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=ae551a13708cca093605119c0235e259a3538b05'/>
<id>urn:sha1:ae551a13708cca093605119c0235e259a3538b05</id>
<content type='text'>
The functions cci_enable_snoop_dvm_reqs and cci_disable_snoop_dvm_reqs write
in the SNOOP_CTRL_REGISTER of the slave interface and it polls the status
register to be sure that the operation is finished before leaving the
functions. If the write in SNOOP_CTRL_REGISTER is reordered after the first
read in the status register then these functions can finish before
enabling/disabling snoops and DVM messages.

The CCI500 TRM specifies:

	Wait for the completion of the write to the Snoop Control Register
	before testing the change_pending bit.

Change-Id: Idc7685963f412be1c16bcd3c6e3cca826e2fdf38
Signed-off-by: Roberto Vargas &lt;roberto.vargas@arm.com&gt;
</content>
</entry>
<entry>
<title>drivers: 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-13T15:24:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=5aa7498abdddcfd4ac8a04d7726798d452f13bb2'/>
<id>urn:sha1:5aa7498abdddcfd4ac8a04d7726798d452f13bb2</id>
<content type='text'>
Ensure (where possible) that switch statements in drivers comply with
MISRA rules 16.1 - 16.7.

Change-Id: I7a91e04b02af80fbc4673a52293386c0f81a0f7a
Signed-off-by: Jonathan Wright &lt;jonathan.wright@arm.com&gt;
</content>
</entry>
<entry>
<title>CCI: Adapt for specific product at run time</title>
<updated>2017-08-01T13:33:47Z</updated>
<author>
<name>Jeenu Viswambharan</name>
</author>
<published>2017-07-19T16:07:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=e33fd44548e41bcfa7bf697a36653e19e410e6c6'/>
<id>urn:sha1:e33fd44548e41bcfa7bf697a36653e19e410e6c6</id>
<content type='text'>
The current build system and driver requires the CCI product to be
specified at build time. The device constraints can be determined at run
time from its ID registers, obviating the need for specifying them
ahead.

This patch adds changes to identify and validate CCI at run time. Some
global variables are renamed to be in line with the rest of the code
base.

The build option ARM_CCI_PRODUCT_ID is now removed, and user guide is
updated.

Change-Id: Ibb765e349d3bc95ff3eb9a64bde1207ab710a93d
Signed-off-by: Jeenu Viswambharan &lt;jeenu.viswambharan@arm.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>Merge pull request #906 from antonio-nino-diaz-arm/an/asserts-release</title>
<updated>2017-04-21T08:37:36Z</updated>
<author>
<name>davidcunado-arm</name>
</author>
<published>2017-04-21T08:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=2edf64827f2fc807c54b9cf79fba3d112885a890'/>
<id>urn:sha1:2edf64827f2fc807c54b9cf79fba3d112885a890</id>
<content type='text'>
Add `ENABLE_ASSERTIONS` build option</content>
</entry>
<entry>
<title>Control inclusion of helper code used for asserts</title>
<updated>2017-04-20T08:59:12Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2017-03-22T15:48:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=aa61368eb554e9910c503f78560153805a2d6859'/>
<id>urn:sha1:aa61368eb554e9910c503f78560153805a2d6859</id>
<content type='text'>
Many asserts depend on code that is conditionally compiled based on the
DEBUG define. This patch modifies the conditional inclusion of such code
so that it is based on the ENABLE_ASSERTIONS build option.

Change-Id: I6406674788aa7e1ad7c23d86ce94482ad3c382bd
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
</feed>
