2016-06-03 |
Exclude more files from checkpatch and checkcodebase
...
Exclude documentation files from the `make checkcodebase` target
(these files were already excluded from checkpatch).
Also exclude libfdt files to prepare for import of this library.
Change-Id: Iee597ed66494de2b11cf84096f771f1f04472d5b
Dan Handley
committed
on 3 Jun 2016
|
Move stdlib header files to include/lib/stdlib
...
* Move stdlib header files from include/stdlib to include/lib/stdlib for
consistency with other library headers.
* Fix checkpatch paths to continue excluding stdlib files.
* Create stdlib.mk to define the stdlib source files and include directories.
* Include stdlib.mk from the top level Makefile.
* Update stdlib header path in the fip_create Makefile.
* Update porting-guide.md with the new paths.
Change-Id: Ia92c2dc572e9efb54a783e306b5ceb2ce24d27fa
Dan Handley
committed
on 3 Jun 2016
|
2016-05-27 |
Merge pull request #632 from rockchip-linux/support-for-gpio-driver-v2
...
rockchip/rk3399: Support the gpio driver and configure
danh-arm
committed
on 27 May 2016
|
Merge pull request #634 from sandrine-bailleux-arm/sb/exception-vectors
...
Improve robustness and readability of exception code
danh-arm
committed
on 27 May 2016
|
Merge pull request #633 from soby-mathew/sm/psci_wfi_hook
...
PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops
danh-arm
committed
on 27 May 2016
|
Merge pull request #627 from soby-mathew/sm/fvp_ccn502_sup_1
...
Add CCN support to FVP
danh-arm
committed
on 27 May 2016
|
2016-05-26 |
rockchip: support system off function for rk3399
...
if define power off gpio, BL31 will do system power off through
gpio control.
Caesar Wang
committed
on 26 May 2016
|
rockchip: support reset SoC through gpio for rk3399
...
If define a reset gpio, BL31 will use gpio to reset SOC,
otherwise use CRU reset.
Caesar Wang
committed
on 26 May 2016
|
rockchip: add reset or power off gpio configuration for rk3399
...
We add plat parameter structs to support BL2 to pass variable-length,
variable-type parameters to BL31. The parameters are structured as a
link list. During bl31 setup time, we travse the list to process each
parameter. throuth this way, we can get the reset or power off gpio
parameter, and do hardware control in BL31. This structure also can
pass other parameter to BL31 in future.
Caesar Wang
committed
on 26 May 2016
|
rockchip: support rk3399 gpio driver
...
There are 5 groups of GPIO (GPIO0~GPIO4), totally have 122 GPIOs
on rk3399 platform.
The pull direction(pullup or pulldown) for all of GPIOs are
software-programmable.
At the moment, we add the gpio basic driver since reset or power off
the devices from gpio configuration for BL31.
Caesar Wang
committed
on 26 May 2016
|
gpio: support gpio set/get pull status
...
On some platform gpio can set/get pull status when input, add these
function so we can set/get gpio pull status when need it. And they are
optional function.
Caesar Wang
committed
on 26 May 2016
|
Fill exception vectors with zero bytes
...
The documentation of the GNU assembler specifies the following about
the .align assembler directive:
"the padding bytes are normally zero. However, on some systems, if
the section is marked as containing code and the fill value is
omitted, the space is filled with no-op instructions."
(see https://sourceware.org/binutils/docs/as/Align.html)
When building Trusted Firmware, the AArch64 GNU assembler uses a
mix of zero bytes and no-op instructions as the padding bytes to
align exception vectors.
This patch mandates to use zero bytes to be stored in the padding
bytes in the exception vectors. In the AArch64 instruction set, no
valid instruction encodes as zero so this effectively inserts
illegal instructions. Should this code end up being executed for
any reason, it would crash immediately. This gives us an extra
protection against misbehaving code at no extra cost.
Change-Id: I4f2abb39d0320ca0f9d467fc5af0cb92ae297351
Sandrine Bailleux
committed
on 26 May 2016
|
Introduce some helper macros for exception vectors
...
This patch introduces some assembler macros to simplify the
declaration of the exception vectors. It abstracts the section
the exception code is put into as well as the alignments
constraints mandated by the ARMv8 architecture. For all TF images,
the exception code has been updated to make use of these macros.
This patch also updates some invalid comments in the exception
vector code.
Change-Id: I35737b8f1c8c24b6da89b0a954c8152a4096fa95
Sandrine Bailleux
committed
on 26 May 2016
|
2016-05-25 |
PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops
...
This patch adds a new optional platform hook `pwr_domain_pwr_down_wfi()` in
the plat_psci_ops structure. This hook allows the platform to perform platform
specific actions including the wfi invocation to enter powerdown. This hook
is invoked by both psci_do_cpu_off() and psci_cpu_suspend_start() functions.
The porting-guide.md is also updated for the same.
This patch also modifies the `psci_power_down_wfi()` function to invoke
`plat_panic_handler` incase of panic instead of the busy while loop.
Fixes ARM-Software/tf-issues#375
Change-Id: Iba104469a1445ee8d59fb3a6fdd0a98e7f24dfa3
Soby Mathew
committed
on 25 May 2016
|
Add CCN support to FVP platform port
...
This patch adds support to select CCN driver for FVP during build.
A new build option `FVP_INTERCONNECT_DRIVER` is added to allow
selection between the CCI and CCN driver. Currently only the CCN-502
variant is supported on FVP.
The common ARM CCN platform helper file now verifies the cluster
count declared by platform is equal to the number of root node
masters exported by the ARM Standard platform.
Change-Id: I71d7b4785f8925ed499c153b2e9b9925fcefd57a
Soby Mathew
committed
on 25 May 2016
|
CCN: Add API to query the PART0 ID from CCN
...
This patch adds the API `ccn_get_part0_id` to query the PART0 ID from the
PERIPHERAL_ID 0 register in the CCN driver. This ID allows to distinguish
the variant of CCN present on the system and possibly enable dynamic
configuration of the IP based on the variant. Also added an assert in
`ccn_master_to_rn_id_map()` to ensure that the master map bitfield provided
by the platform is within the expected interface id.
Change-Id: I92d2db7bd93a9be8a7fbe72a522cbcba0aba2d0e
Soby Mathew
committed
on 25 May 2016
|
2016-05-24 |
Merge pull request #625 from antonio-nino-diaz-arm/an/delay-timer-v2
...
Implement generic delay timer and use it on platforms
danh-arm
committed
on 24 May 2016
|
2016-05-20 |
Replace Rockchip delay timer by generic one
...
Use the generic delay timer instead of having a specific platform
file for configuring it.
Change-Id: Ifa68b9c97cd96ae1190cee74d22d729af95e4537
Antonio Nino Diaz
committed
on 20 May 2016
|
Replace MediaTek delay timer by generic one
...
Use the generic delay timer instead of having a specific platform
file for configuring it.
Change-Id: If6b8f60bc04230f4b85b2bcc1b670fc65461214e
Antonio Nino Diaz
committed
on 20 May 2016
|
Replace SP804 timer by generic delay timer on FVP
...
Added a build flag to select the generic delay timer on FVP instead
of the SP804 timer. By default, the generic one will be selected. The
user guide has been updated.
Change-Id: Ica34425c6d4ed95a187b529c612f6d3b26b78bc6
Antonio Nino Diaz
committed
on 20 May 2016
|
Implement generic delay timer
...
Add delay timer implementation based on the system generic counter.
This either uses the platform's implementation of
`plat_get_syscnt_freq()` or explicit clock multiplier/divider values
provided by the platform.
The current implementation of udelay has been modified to avoid
unnecessary calculations while waiting on the loop and to make it
easier to check for overflows.
Change-Id: I9062e1d506dc2f68367fd9289250b93444721732
Antonio Nino Diaz
committed
on 20 May 2016
|
Implement plat_get_syscnt_freq2 on platforms
...
Replaced plat_get_syscnt_freq by plat_get_syscnt_freq2 on all
upstream platforms.
Change-Id: I3248f3f65a16dc5e9720012a05c35b9e3ba6abbe
Antonio Nino Diaz
committed
on 20 May 2016
|
Add 32 bit version of plat_get_syscnt_freq
...
Added plat_get_syscnt_freq2, which is a 32 bit variant of the 64 bit
plat_get_syscnt_freq. The old one has been flagged as deprecated.
Common code has been updated to use this new version. Porting guide
has been updated.
Change-Id: I9e913544926c418970972bfe7d81ee88b4da837e
Antonio Nino Diaz
committed
on 20 May 2016
|
2016-05-12 |
Merge pull request #622 from mtk09422/hw-crypt-v3
...
Hw crypt v3
danh-arm
committed
on 12 May 2016
|
MT8173: Add Sip function for MTK HW crypt driver
...
Change-Id: Idc40cc6243e532567ec4334ae37d97c003c90bfa
Signed-off-by: Yi Zheng <yi.zheng@mediatek.com>
Yi Zheng
authored
on 11 May 2016
Yidi Lin
committed
on 12 May 2016
|
mt8173: Reorganize plat SiP functions
...
Due to the changes in Mediatek platform common code, we need to move
plat related SiP functions to plat folder.
Change-Id: I6b14b988235205a5858b4bf49043bc79d0512b06
Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
Jimmy Huang
authored
on 11 May 2016
Yidi Lin
committed
on 12 May 2016
|
2016-05-11 |
Merge pull request #619 from sandrine-bailleux-arm/sb/rockchip-assertions
...
Rockchip: Add some debug assertions in the PMU driver
danh-arm
committed
on 11 May 2016
|
2016-05-05 |
Rockchip: Add some debug assertions in the PMU driver
...
This patch adds some debug assertions ensuring that array indices
are within the bounds of the array.
Change-Id: I96ee81d14834c1e92cdfb7e60b49995cdacfd93a
Sandrine Bailleux
committed
on 5 May 2016
|
2016-05-04 |
Merge pull request #618 from rockchip-linux/fixes-for-suspend/resume
...
rockchip: support the suspend/resume for rk3399
danh-arm
committed
on 4 May 2016
|
Merge pull request #617 from leon-chen-mtk/refactor_common_1
...
Refactor MediaTek platform common code
danh-arm
committed
on 4 May 2016
|