<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/plat/rockchip/rk3328/include, 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-20T00:42:53Z</updated>
<entry>
<title>rockchip: Update BL31_BASE to 0x40000</title>
<updated>2019-09-20T00:42:53Z</updated>
<author>
<name>Kever Yang</name>
</author>
<published>2019-09-19T02:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=0aad563c74807195cc7fe2208d17e2d889157f1e'/>
<id>urn:sha1:0aad563c74807195cc7fe2208d17e2d889157f1e</id>
<content type='text'>
Rockchip platform is using the first 1MB of DRAM as secure ram space,
and there is a vendor loader who loads and runs the BL31/BL32/BL33,
this loader is usually load by SoC BootRom to the start addres of DRAM,
we need to reserve enough space for this loader so that it doesn't need
to do the relocate when loading the BL31. eg.
We use U-Boot SPL to load ATF BL31 and U-Boot proper as BL33, the SPL
TEXT BASE is offset 0 of DRAM which is decide by Bootrom; if we update
the BL31_BASE to offset 0x40000(256KB), then the 0~0x40000 should be
enough for SPL and no need to do the relocate while the space size
0x10000(64KB) may not enough for SPL.
After this update, the BL31 can use the rest 768KB of the first 1MB,
which is also enough, and the loader who is using BL31 elf file can
support this update without any change.

Change-Id: I66dc685594d77f10f9a49c3be015fd6729250ece
Signed-off-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>rockchip: Fix typo for TF content text</title>
<updated>2019-09-20T00:42:32Z</updated>
<author>
<name>Kever Yang</name>
</author>
<published>2019-09-20T00:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=382ddb3dd46ada0d7439d2d95bb0de3b3abb6d9d'/>
<id>urn:sha1:382ddb3dd46ada0d7439d2d95bb0de3b3abb6d9d</id>
<content type='text'>
The 'txet' should be 'text'.

Change-Id: I2217a1adf50c3b86f3087b83c77d9291b280627c
Signed-off-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>rockchip: Streamline and complete UARTn_BASE macros.</title>
<updated>2019-05-01T00:15:43Z</updated>
<author>
<name>Christoph Müllner</name>
</author>
<published>2019-04-30T23:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=0957b9b2717d314fc669b22542e8329d48f178ef'/>
<id>urn:sha1:0957b9b2717d314fc669b22542e8329d48f178ef</id>
<content type='text'>
In order to set the UART base during bootup in common code of
plat/rockchip, we need to streamline the way the UART base addresses
are defined and add the missing definitions and mappings.

This patch does so by following the pattern UARTn_BASE, which is
already in use on RK3399 and RK3328. The numbering itself is derived
from the upstream Linux DTS files of the individual SoCs.

Signed-off-by: Christoph Müllner &lt;christophm30@gmail.com&gt;
Change-Id: I341a1996f4ceed5f82a2f6687d4dead9d7cc5c1f
</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>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.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>rockchip: Migrate to new interfaces</title>
<updated>2018-09-28T14:34:17Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-09-24T16:16:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=2d6f1f01b141775a192e36d120073f67b7b378c2'/>
<id>urn:sha1:2d6f1f01b141775a192e36d120073f67b7b378c2</id>
<content type='text'>
- Migrate to new GIC interfaces.
- Migrate to bl31_early_platform_setup2().
- Use bl31_warm_entrypoint() instead of psci_entrypoint().
- Use PLAT_VIRT_ADDR_SPACE_SIZE and PLAT_PHY_ADDR_SPACE_SIZE.
- Update Makefile paths.
- Remove references to removed build options.
- Use private definition of bl31_params_t.

Change-Id: I860341594b5c868b2fcaa59d23957ee718472ef1
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>PSCI: Fix types of definitions</title>
<updated>2018-07-20T12:49:22Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-07-20T08:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=1083b2b315cd71f714eb0d0bca20e54ef7be02ad'/>
<id>urn:sha1:1083b2b315cd71f714eb0d0bca20e54ef7be02ad</id>
<content type='text'>
Also change header guards to fix defects of MISRA C-2012 Rule 21.1.

Change-Id: Ied0d4b0e557ef6119ab669d106d2ac5d99620c57
Acked-by: Sumit Garg &lt;sumit.garg@linaro.org&gt;
Acked-by: Anson Huang &lt;Anson.Huang@nxp.com&gt;
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>Update ULL() macro and instances of ull to comply with MISRA</title>
<updated>2018-02-27T17:05:51Z</updated>
<author>
<name>David Cunado</name>
</author>
<published>2018-02-16T21:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=5724481fdda01067d3bf4386a3dd07a541d16044'/>
<id>urn:sha1:5724481fdda01067d3bf4386a3dd07a541d16044</id>
<content type='text'>
MISRA C-2012 Rule 7.3 violation: lowercase l shall not be used as literal suffixes.

This patch resolves this for the ULL() macro by using ULL suffix instead
of the ull suffix.

Change-Id: Ia8183c399e74677e676956e8653e82375d0e0a01
Signed-off-by: David Cunado &lt;david.cunado@arm.com&gt;
</content>
</entry>
<entry>
<title>Fix usage of IMAGE_BLx macros</title>
<updated>2017-11-01T08:28:04Z</updated>
<author>
<name>Roberto Vargas</name>
</author>
<published>2017-10-23T07:22:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=e8a87acd4b7f3c526de036920df42230e37e6144'/>
<id>urn:sha1:e8a87acd4b7f3c526de036920df42230e37e6144</id>
<content type='text'>
These macros are only defined for corresponding image,
and they are undefined for other images. It means that we have
to use ifdef or defined() instead of relying on being 0 by default.

Change-Id: Iad11efab9830ddf471599b46286e1c56581ef5a7
Signed-off-by: Roberto Vargas &lt;roberto.vargas@arm.com&gt;
</content>
</entry>
<entry>
<title>rockchip: check wakeup cpu when resume</title>
<updated>2017-06-08T02:01:19Z</updated>
<author>
<name>Lin Huang</name>
</author>
<published>2017-05-12T02:26:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=84597b57f98233989ef44ee0ccdf67b8ecea97b3'/>
<id>urn:sha1:84597b57f98233989ef44ee0ccdf67b8ecea97b3</id>
<content type='text'>
unlike rk3399 and rk3368, there are some rockchip 64bit SOC
do not have CPUPD, and pmu_cpuson_entrypoint() is common
function for rockchip platform, so we need to check wakeup
cpu when resume.

Change-Id: I6313e8a9d7c16b03e033414f0cb281646c2159ff
Signed-off-by: Lin Huang &lt;hl@rock-chips.com&gt;
</content>
</entry>
</feed>
