<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/plat/rockchip, 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>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.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: rk3399: store actual debug uart information on suspend</title>
<updated>2019-08-09T07:40:19Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2019-08-05T14:44:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=0eb7fa91e18bd888d94cd8d92f033ba92d9cb818'/>
<id>urn:sha1:0eb7fa91e18bd888d94cd8d92f033ba92d9cb818</id>
<content type='text'>
The rk3399 suspend code saves and restores the debug uart settings, but
right now always does this for the default uart. Right now this works
only by chance for the majority of rk3399 boards, which do not deviate
from that default.

But both Coreboot as well as U-Boot-based platforms can actually use
different uarts for their output, which can be configured from either
devicetree or Coreboot-variables.

To fix this, just use the stored uart-base information instead of the
default constant.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Change-Id: I1ea059d59a1126f6f8702315df7e620e632b686e
</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.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.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.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.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.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>rockchip: px30: Use new bl31_params_parse functions</title>
<updated>2019-07-29T13:52:20Z</updated>
<author>
<name>Ambroise Vincent</name>
</author>
<published>2019-07-29T13:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=f8aa5d7df0bc9146501dfba1d42fe0d8e12dd60a'/>
<id>urn:sha1:f8aa5d7df0bc9146501dfba1d42fe0d8e12dd60a</id>
<content type='text'>
This change is needed for the platform to compile following the changes
made in commits cbdc72b559ab and 3e02c7436cf4.

Change-Id: I3468dd27f3b4f3095fb82f445d51cd8714311eb7
Signed-off-by: Ambroise Vincent &lt;ambroise.vincent@arm.com&gt;
</content>
</entry>
</feed>
