| #
f67a2977 |
| 03-Dec-2019 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "Enable -Wshadow always" into integration
|
| #
b7f6525d |
| 17-Sep-2019 |
Justin Chadwell <justin.chadwell@arm.com> |
Enable -Wshadow always
Variable shadowing is, according to the C standard, permitted and valid behaviour. However, allowing a local variable to take the same name as a global one can cause confusion
Enable -Wshadow always
Variable shadowing is, according to the C standard, permitted and valid behaviour. However, allowing a local variable to take the same name as a global one can cause confusion and can make refactoring and bug hunting more difficult.
This patch moves -Wshadow from WARNING2 into the general warning group so it is always used. It also fixes all warnings that this introduces by simply renaming the local variable to a new name
Change-Id: I6b71bdce6580c6e58b5e0b41e4704ab0aa38576e Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
show more ...
|
| #
9a207532 |
| 04-Jan-2019 |
Antonio Niño Díaz <antonio.ninodiaz@arm.com> |
Merge pull request #1726 from antonio-nino-diaz-arm/an/includes
Sanitise includes across codebase
|
| #
09d40e0e |
| 14-Dec-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
Sanitise includes across codebase
Enforce full include path for includes. Deprecate old paths.
The following folders inside include/lib have been left unchanged:
- include/lib/cpus/${ARCH} - inclu
Sanitise includes across codebase
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 <antonio.ninodiaz@arm.com>
show more ...
|
| #
f132b4a0 |
| 04-May-2017 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #925 from dp-arm/dp/spdx
Use SPDX license identifiers
|
| #
82cb2c1a |
| 03-May-2017 |
dp-arm <dimitris.papastamos@arm.com> |
Use SPDX license identifiers
To make software license auditing simpler, use SPDX[0] license identifiers instead of duplicating the license text in every file.
NOTE: Files that have been imported by
Use SPDX license identifiers
To make software license auditing simpler, use SPDX[0] license identifiers instead of duplicating the license text in every file.
NOTE: Files that have been imported by FreeBSD have not been modified.
[0]: https://spdx.org/
Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761a Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
show more ...
|
| #
195d29f3 |
| 11-Mar-2016 |
danh-arm <dan.handley@arm.com> |
Merge pull request #546 from mtk09422/mtk-bl31-update
Mtk bl31 update
|
| #
b99d961c |
| 16-Nov-2015 |
Jimmy Huang <jimmy.huang@mediatek.com> |
mt8173: support big core PLL control in system suspend flow
This patch adds big core ARMPLL control in system suspend flow.
Change-Id: I27a45dbbb360f17ff0b524a125630358ee2277e2 Signed-off-by: Louis
mt8173: support big core PLL control in system suspend flow
This patch adds big core ARMPLL control in system suspend flow.
Change-Id: I27a45dbbb360f17ff0b524a125630358ee2277e2 Signed-off-by: Louis Yu <louis.yu@mediatek.com> Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
show more ...
|
| #
7b46d0d8 |
| 01-Feb-2016 |
danh-arm <dan.handley@arm.com> |
Merge pull request #497 from mtk09422/spm-v3
update SPM/DCM/MTCMOS related code for power control logic
|
| #
cc04b843 |
| 16-Nov-2015 |
Jimmy Huang <jimmy.huang@mediatek.com> |
mt8173: Fix USB remote wake up problem
This patch updates SPM driver settings and PCM code to fix USB remote wake up problem.
Change-Id: I07a81cc64b1d226d111380580d09ae25879f4285 Signed-off-by: yt.
mt8173: Fix USB remote wake up problem
This patch updates SPM driver settings and PCM code to fix USB remote wake up problem.
Change-Id: I07a81cc64b1d226d111380580d09ae25879f4285 Signed-off-by: yt.lee <yt.lee@mediatek.com>
show more ...
|
| #
895a7fb4 |
| 30-Sep-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #393 from mtk09422/misc-updates
mt8173: Update SPM and fix watchdog setting
|
| #
0ad1a9b3 |
| 20-Aug-2015 |
yt.lee <yt.lee@mediatek.com> |
mt8173: update spm suspend pcm codes
1. update suspend pcm code (add dummy apb read before mcusys power down)
BRANCH=none BUG=none TEST=verified
Change-Id: I2802cf8665fc1c8fe2304fd7d5f3eab9948b0b7
mt8173: update spm suspend pcm codes
1. update suspend pcm code (add dummy apb read before mcusys power down)
BRANCH=none BUG=none TEST=verified
Change-Id: I2802cf8665fc1c8fe2304fd7d5f3eab9948b0b78 Signed-off-by: yt.lee <yt.lee@mediatek.com>
show more ...
|
| #
6ab9bbbc |
| 18-Aug-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #364 from mtk09422/spm_suspend
mt8173: update spm wake_src setting
|
| #
64faa0e5 |
| 11-Aug-2015 |
kenny liang <kenny.liang@mediatek.com> |
mt8173: update spm wake_src setting
1. SEJ should not be one of the wake up sources
BUG=chrome-os-partner:38426 TEST=powerd_dbus_suspend
Change-Id: If8f3f19a885e66d7c10b472c2e3182a5affa4773 Signed
mt8173: update spm wake_src setting
1. SEJ should not be one of the wake up sources
BUG=chrome-os-partner:38426 TEST=powerd_dbus_suspend
Change-Id: If8f3f19a885e66d7c10b472c2e3182a5affa4773 Signed-off-by: kenny liang <kenny.liang@mediatek.com>
show more ...
|
| #
aaa0567c |
| 11-Aug-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #356 from mtk09422/mt8173-support-v3
Mt8173 support v3
|
| #
7d116dcc |
| 13-Apr-2015 |
CC Ma <cc.ma@mediatek.com> |
Initial platform port for MediaTek mt8173
- Boot up 4 cores. - Add a generic UART driver. - Add generic CPU helper functions - Supoort suspend - Add system_off & system_reset implementation - Add cr
Initial platform port for MediaTek mt8173
- Boot up 4 cores. - Add a generic UART driver. - Add generic CPU helper functions - Supoort suspend - Add system_off & system_reset implementation - Add crash console reporting implementation - Add get_sys_suspend_power_state() for PSCI 1.0 SYSTEM_SUSPEND - Add Mediatek SIP runtime service - Add delay timer platform implementation
Change-Id: I44138249f115ee10b9cbd26fdbc2dd3af04d825f Signed-off-by: CC Ma <cc.ma@mediatek.com> Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
show more ...
|