2019-01-29 |
doc: Add details on #include ordering
...
This patch adds more details on #include directive use, including (pun
not intended) the desired ordering, grouping and variants (<> or "").
Change-Id: Ib024ffc4d3577c63179e1bbc408f0d0462026312
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Paul Beesley
committed
on 29 Jan 2019
|
doc: Reorder coding guidelines document
...
This patch attempts to make the guidelines clearer by reordering
the sections and grouping similar topics.
Change-Id: I1418d6fc060d6403fe3e1978f32fd54b8793ad5b
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Paul Beesley
committed
on 29 Jan 2019
|
doc: Link coding guidelines to user guide
...
Adds a link from user-guide.rst to coding-guidelines.rst and merges
the information about using checkpatch from both files into the user
guide document.
Change-Id: Iffbb4225836a042d20024faf28b8bdd6b2c4043e
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Paul Beesley
committed
on 29 Jan 2019
|
doc: Clarify ssize_t use in coding guidelines
...
Change-Id: I083f673f37495d2e53c704a43a0892231b6eb281
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Paul Beesley
committed
on 29 Jan 2019
|
doc: Add AAPCS link to coding guidelines
...
Change-Id: Id0e6d272b6d3d37eab785273f9c12c093191f3fc
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Paul Beesley
committed
on 29 Jan 2019
|
doc: Add Coding Guidelines document
...
This content has been imported and adapted from the TF GitHub wiki
article 'ARM-Trusted-Firmware-Coding-Guidelines'.
The aim is to increase the visibility of the coding guidelines by
including them as part of the documentation that is within the TF
repository.
Additionally, the documentation can then be linked to by other
documents in the docs/ directory without worrying about broken links
to, for example, the external wiki.
Change-Id: I9d8cd6b5117b707c1a113baeba7fc5e1b4bf33bc
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Paul Beesley
committed
on 29 Jan 2019
|
tools/fiptool: Fix UUID parsing in blob handling
...
Commit 033648652f ("Make TF UUID RFC 4122 compliant") changed the scanf
parsing string to handle endianness correctly.
However that changed the number of items sscanf handles, without
adjusting the sanity check just below.
Increase the expected return value from 11 to 16 to let fiptool handle
UUIDs given as blob parameters correctly again.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Andre Przywara
committed
on 29 Jan 2019
|
rcar_gen3: drivers: ddr: Clean up printouts
...
Clean up the NOTICE() and FATAL_MSG() outputs, so that they contain
proper newlines and BL2 prefixes.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Marek Vasut
committed
on 29 Jan 2019
|
rcar_gen3: drivers: cpld: fix power-off on reset
...
Method cpld_reset_cpu of bl31 is called from the Linux kernel and uses
GPIO6, GPIO2 pins as SPI bus lines to control the CPLD device. But in the
kernel GPIO6_8 pin are initialized to work in interrupt mode instead of
the input/output mode. This leads to the fact that the SPI bus becomes
non-functional. In this patch we switch the GPIO6_8 pin back to the
input-output mode.
Signed-off-by: Sergii Boryshchenko <sergii.boryshchenko@globallogic.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Sergii Boryshchenko
authored
on 30 Nov 2017
Marek Vasut
committed
on 29 Jan 2019
|
rcar_gen3: plat: Add missing cpu_on_check() implementation
...
The ATF code fails to build with PMIC_ROHM_BD9571=0, add the missing
function into the PWRC code.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Marek Vasut
committed
on 29 Jan 2019
|
rcar_gen3: plat: Allow E3 auto-detection
...
Allow auto-detecting E3 when RCAR_LSI is set to RCAR_AUTO.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Marek Vasut
committed
on 29 Jan 2019
|
rcar_gen3: plat: Drop unused macro
...
The macro is not used, drop it.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Marek Vasut
committed
on 29 Jan 2019
|
Revert "rcar_gen3: plat: Enable programmable CPU reset address"
...
This reverts commit d48536e ,
which misbehaves on R-Car H3 ES2.0. Until the reason for that
misbehavior is understood, revert the commit.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Marek Vasut
committed
on 29 Jan 2019
|
2019-01-28 |
imx: power optimization for i.mx8qx
...
Current implementation of i.MX8QX power management related
features does NOT optimize power number, all system resources
like CCI, DDR, and A cluster etc. are kept in STBY mode (powered
ON) when system suspend or CPU hotplug.
To lower the power number, OFF mode should be adopted for those
system resources whenever they can be OFF, A cluster will be OFF
if the CPUs in the cluster are all off line, DDR/MU/DB can be OFF
if system suspend, IRQ steer can be OFF if the wakeup source is
belonged to system controller partition, so wakeup source runtime
check is used to determine if IRQ steer can be OFF before system
suspend.
If resources are powered off for suspend, they should be restored
properly after system resume.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Anson Huang
committed
on 28 Jan 2019
|
imx: power optimization for i.mx8qm
...
Current implementation of i.MX8QM power management related
features does NOT optimize power number, all system resources
like CCI, DDR, and A cluster etc. are kept in STBY mode (powered
ON) when system suspend or CPU hotplug.
To lower the power number, OFF mode should be adopted for those
system resources whenever they can be OFF, A cluster will be OFF
if the CPUs in the cluster are all off line, DDR/MU/DB can be OFF
if system suspend, IRQ steer can be OFF if the wakeup source is
belonged to system controller partition, so wakeup source runtime
check is used to determine if IRQ steer can be OFF before system
suspend.
If resources are powered off for suspend, they should be restored
properly after system resume.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Anson Huang
committed
on 28 Jan 2019
|
rpi3: mark one more function as static
...
Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Florian La Roche
committed
on 28 Jan 2019
|
rpi3: remove duplicate initialization for BL32_IMAGE_ID
...
Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Florian La Roche
committed
on 28 Jan 2019
|
rockchip: Fix GICv2 interrupts
...
After the removal of deprecated interfaces in TF 2.0 the migration to
the new GIC driver interfaces was done incorrectly in rk3328 and rk3368:
2d6f1f01b141 ("rockchip: Migrate to new interfaces").
In the GICv2 driver it is mandated that all interrupts are Group 0
interrupts. This patch simply moves all Group 1 interrupts to Group 0.
Change-Id: I224c0135603eb5b81bd512976361500c0d129a91
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Antonio Nino Diaz
committed
on 28 Jan 2019
|
Merge pull request #1780 from pmanish87/master
...
Make device tree pre-processing similar to U-boot/Linux
Antonio Niño Díaz
authored
on 28 Jan 2019
GitHub
committed
on 28 Jan 2019
|
Merge pull request #1773 from grandpaul/rpi3-gpio-driver
...
Rpi3 gpio driver
Antonio Niño Díaz
authored
on 28 Jan 2019
GitHub
committed
on 28 Jan 2019
|
Merge pull request #1784 from antonio-nino-diaz-arm/an/includes-arm
...
plat/arm: Cleanup of includes and drivers
Antonio Niño Díaz
authored
on 28 Jan 2019
GitHub
committed
on 28 Jan 2019
|
Merge pull request #1778 from JoelHutton/jh/multiconsole
...
multi_console: Check functions are not NULL
Antonio Niño Díaz
authored
on 28 Jan 2019
GitHub
committed
on 28 Jan 2019
|
2019-01-27 |
Change some vars and functions to be static.
...
Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Florian La Roche
committed
on 27 Jan 2019
|
2019-01-25 |
multi_console: Check functions are not NULL
...
Change-Id: I2d67bb1bebd15e6a7d69ea5e7b6fda9c972f9d86
Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>
Joel Hutton
committed
on 25 Jan 2019
|
rpi3: Enable GPIO in BL2
...
This patch inits the GPIO in BL2 earlysetup. So BL2 can start operating
GPIO pins.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Ying-Chun Liu (PaulLiu)
committed
on 25 Jan 2019
|
rpi3: Add GPIO driver
...
This commit adds GPIO driver for RaspberryPi3. The GPIO driver for RPi3
also provides the way to do pinmux selections.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Ying-Chun Liu (PaulLiu)
committed
on 25 Jan 2019
|
fvp: pwrc: Move to drivers/ folder
...
Change-Id: I670ea80e0331c2d4b2ccfa563a45469a43f6902d
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Antonio Nino Diaz
committed
on 25 Jan 2019
|
plat/arm: sds: Move to drivers/ folder
...
Change-Id: Ia601d5ad65ab199e747fb60af4979b7db477d249
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Antonio Nino Diaz
committed
on 25 Jan 2019
|
plat/arm: scp: Move to drivers/ folder
...
Change-Id: Ida5dae39478654405d0ee31a6cbddb4579e76a7f
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Antonio Nino Diaz
committed
on 25 Jan 2019
|
plat/arm: scpi: Move to drivers/ folder
...
Change-Id: Icc59cdaf2b56f6936e9847f1894594c671db2e94
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Antonio Nino Diaz
committed
on 25 Jan 2019
|