<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/plat/rockchip/common, 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-08-15T15:30:13Z</updated>
<entry>
<title>Merge changes from topic "rockchip-uart-fixes" into integration</title>
<updated>2019-08-15T15:30:13Z</updated>
<author>
<name>Paul Beesley</name>
</author>
<published>2019-08-15T15:30:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=99becbe3dff999c4a54bf641b5afe846d3ac20a8'/>
<id>urn:sha1:99becbe3dff999c4a54bf641b5afe846d3ac20a8</id>
<content type='text'>
* changes:
  rockchip: rk3399: store actual debug uart information on suspend
  rockchip: move dt-coreboot uart distinction into param handling code
  rockchip: make uart baudrate configurable
  rockchip: px30: add uart5 as option for serial output
</content>
</entry>
<entry>
<title>rockchip: move dt-coreboot uart distinction into param handling code</title>
<updated>2019-08-09T07:40:19Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2019-08-05T14:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=dd4a0d1618a6367061ab507ea450db98bbf2cc36'/>
<id>urn:sha1:dd4a0d1618a6367061ab507ea450db98bbf2cc36</id>
<content type='text'>
Rockchip platforms can be booted from either u-boot or coreboot.

So far the Coreboot-console was initizalized from a coreboot data struct
in the early_param2 callbacks and dt-based consoles with data from the
rockchip_get_uart_* functions.

But later code may also need this console information for example for
special suspend handling. To make this easy follow a suggestion from
Julius Werner and move the coreboot&lt;-&gt;dt distinction into the
rockchip_get_uart_* functions, thus making correct data about the used
uart available to all Rockchip platform code at all times.

This includes a new rockchip_get_uart_clock as well, because while the
dt-platforms right now always just default the rate defined in a constant
Coreboot provides its own field for the clock rate and we don't want to
loose that information for the console init. Similarly the rk_uart_*
variables should move into the non-Coreboot code, to prevent them from
being marked as unused, which also requires the rk_get_uart_* functions
to move below the actual dt-parsing.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Change-Id: I278d595d2aa6c6864187fc8979a9fbff9814feac
</content>
</entry>
<entry>
<title>rockchip: make uart baudrate configurable</title>
<updated>2019-08-05T15:52:06Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2019-08-05T12:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=30970e0f2979e297831f8ea27466aa3e67992ce4'/>
<id>urn:sha1:30970e0f2979e297831f8ea27466aa3e67992ce4</id>
<content type='text'>
A previous patch already allowed to configure the uart output from the
devicetree, but on Rockchip platforms we also have the issue of different
vendors using different baudrates for their uarts.

For example, rk3399 has a default baudrate of 115200 which is true for
ChromeOS-devices and boards from Theobroma-Systems, while all the boards
using the vendor boot chain actually use a baudrate of 1500000.

Similarly the newly added px30 has a default of said 1500000 but some
boards may want to use the more widely used 115200.

The devicetree stdout-path node already contains the desired baudrate,
so add simple code to parse it from there and override the default,
which stays unchanged.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Change-Id: I7412139c3df3073a1996eb508ec08642ec6af90d
</content>
</entry>
<entry>
<title>rockchip: px30: add uart5 as option for serial output</title>
<updated>2019-08-05T07:45:09Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2019-08-05T07:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=5f441a7b3db705cd1dd546f6e623586801da6c07'/>
<id>urn:sha1:5f441a7b3db705cd1dd546f6e623586801da6c07</id>
<content type='text'>
The px30 mini-evb can use either uart2 (muxed with the sd-card pins) or
uart5 via its pin header for serial output. Uart5 is especially useful
when needing to boot from the sd-card, where uart2 obviously is not
useable.

So add the uart5 constants and it as uart option for the serial-param
handler.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Change-Id: Ib88df7a55d761ee104d312c9953a13de3beba1c4
</content>
</entry>
<entry>
<title>Switch AARCH32/AARCH64 to __aarch64__</title>
<updated>2019-08-01T20:45:03Z</updated>
<author>
<name>Julius Werner</name>
</author>
<published>2019-07-09T21:02:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=402b3cf8766fe2cb4ae462f7ee7761d08a1ba56c'/>
<id>urn:sha1:402b3cf8766fe2cb4ae462f7ee7761d08a1ba56c</id>
<content type='text'>
NOTE: AARCH32/AARCH64 macros are now deprecated in favor of __aarch64__.

All common C compilers pre-define the same macros to signal which
architecture the code is being compiled for: __arm__ for AArch32 (or
earlier versions) and __aarch64__ for AArch64. There's no need for TF-A
to define its own custom macros for this. In order to unify code with
the export headers (which use __aarch64__ to avoid another dependency),
let's deprecate the AARCH32 and AARCH64 macros and switch the code base
over to the pre-defined standard macro. (Since it is somewhat
unintuitive that __arm__ only means AArch32, let's standardize on only
using __aarch64__.)

Change-Id: Ic77de4b052297d77f38fc95f95f65a8ee70cf200
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
</entry>
<entry>
<title>Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__</title>
<updated>2019-08-01T20:14:12Z</updated>
<author>
<name>Julius Werner</name>
</author>
<published>2019-07-09T20:49:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=d5dfdeb65ff5b7f24dded201d2945c7b74565ce8'/>
<id>urn:sha1:d5dfdeb65ff5b7f24dded201d2945c7b74565ce8</id>
<content type='text'>
NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.

All common C compilers predefine a macro called __ASSEMBLER__ when
preprocessing a .S file. There is no reason for TF-A to define it's own
__ASSEMBLY__ macro for this purpose instead. To unify code with the
export headers (which use __ASSEMBLER__ to avoid one extra dependency),
let's deprecate __ASSEMBLY__ and switch the code base over to the
predefined standard.

Change-Id: Id7d0ec8cf330195da80499c68562b65cb5ab7417
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
</entry>
<entry>
<title>Merge changes I0d17ba6c,I540741d2,I9e6475ad,Ifd769320,I12c04a85, ... into integration</title>
<updated>2019-07-25T09:04:21Z</updated>
<author>
<name>Soby Mathew</name>
</author>
<published>2019-07-25T09:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=d38613df9aa7d81505ff1da6e2905b3216d51ce5'/>
<id>urn:sha1:d38613df9aa7d81505ff1da6e2905b3216d51ce5</id>
<content type='text'>
* changes:
  plat/mediatek/mt81*: Use new bl31_params_parse() helper
  plat/rockchip: Use new bl31_params_parse_helper()
  Add helper to parse BL31 parameters (both versions)
  Factor out cross-BL API into export headers suitable for 3rd party code
  Use explicit-width data types in AAPCS parameter structs
  plat/rockchip: Switch to use new common BL aux parameter library
  Introduce lightweight BL platform parameter library
</content>
</entry>
<entry>
<title>plat/rockchip: Use new bl31_params_parse_helper()</title>
<updated>2019-07-24T18:04:03Z</updated>
<author>
<name>Julius Werner</name>
</author>
<published>2019-05-30T23:57:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=3e02c7436cf40fb7f7eb4d3038b7fc1ed1eeaa5f'/>
<id>urn:sha1:3e02c7436cf40fb7f7eb4d3038b7fc1ed1eeaa5f</id>
<content type='text'>
The Rockchip platform is a prime candidate for switching to the new
bl31_params_parse_helper(), so switch it over. This will allow BL2
implementations on this platform to transparently switch over to the
version 2 parameter structure.

Change-Id: I540741d2425c93f66c8697ce749a351eb2b3a7e8
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
</entry>
<entry>
<title>Factor out cross-BL API into export headers suitable for 3rd party code</title>
<updated>2019-07-24T03:25:34Z</updated>
<author>
<name>Julius Werner</name>
</author>
<published>2019-05-29T04:03:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=57bf6057721306d1ad1af1122a831789ded92885'/>
<id>urn:sha1:57bf6057721306d1ad1af1122a831789ded92885</id>
<content type='text'>
This patch adds a new include/export/ directory meant for inclusion in
third-party code. This is useful for cases where third-party code needs
to interact with TF-A interfaces and data structures (such as a custom
BL2-implementation like coreboot handing off to BL31). Directly
including headers from the TF-A repository avoids having to duplicate
all these definitions (and risk them going stale), but with the current
header structure this is not possible because handoff API definitions
are too deeply intertwined with other TF code/headers and chain-include
other headers that will not be available in the other environment.

The new approach aims to solve this by separating only the parts that
are really needed into these special headers that are self-contained and
will not chain-include other (non-export) headers. TF-A code should
never include them directly but should instead always include the
respective wrapper header, which will include the required prerequisites
(like &lt;stdint.h&gt;) before including the export header. Third-party code
can include the export headers via its own wrappers that make sure the
necessary definitions are available in whatever way that environment can
provide them.

Change-Id: Ifd769320ba51371439a8e5dd5b79c2516c3b43ab
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
</entry>
<entry>
<title>plat/rockchip: Switch to use new common BL aux parameter library</title>
<updated>2019-07-24T03:25:30Z</updated>
<author>
<name>Julius Werner</name>
</author>
<published>2019-05-25T03:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/atf/commit/?id=c1185ffde17cf2fdf50aac172a0be9e2d7669fd0'/>
<id>urn:sha1:c1185ffde17cf2fdf50aac172a0be9e2d7669fd0</id>
<content type='text'>
This patch changes all Rockchip platforms to use the new common BL aux
parameter helpers. Since the parameter space is now cleanly split in
generic and vendor-specific parameters and the COREBOOT_TABLE
parameter is now generic, the parameter type number for that parameter
has to change. Since it only affects coreboot which always builds TF as
a submodule and includes its headers directly to get these constants,
this should not cause any issues. In general, after this point, we
should avoid changing already assigned parameter type numbers whenever
possible.

Change-Id: Ic99ddd1e91ff5e5fe212fa30c793a0b8394c9dad
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
</entry>
</feed>
