arm-trusted-firmware/plat
Varun Wadekar ee21281a5f Tegra: common: improve cyclomatic complexity
Code complexity is a good indication of maintainability versus
testability of a piece of software.

ISO26262 introduces the following thresholds:

    complexity < 10 is accepted
    10 <= complexity < 20 has to be justified
    complexity >= 20 cannot be accepted

Rationale is that number of test cases to fully test a piece of
software can (depending on the coverage metrics) grow exponentially
with the number of branches in the software.

This patch removes redundant conditionals from 'bl31_early_platform_setup'
handler to reduce the McCabe Cyclomatic Complexity for this function.

Change-Id: Ifb628e33269b388f9323639cd97db761a7e049c4
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2020-02-20 09:25:45 -08:00
..
allwinner allwinner: Unify Platform specific defines for PSCI module 2020-01-24 13:14:34 +00:00
amlogic amlogic: axg: Add a build flag when using ATOS as BL32 2020-02-06 12:10:47 +01:00
arm board/rdn1edge: use CREATE_SEQ helper macro to compare chip count 2020-02-18 21:53:45 +00:00
common include: move MHZ_TICKS_PER_SEC to utils_def.h 2020-02-20 09:25:45 -08:00
hisilicon hisilicon: Unify Platform specific defines for PSCI module 2020-01-24 13:01:27 +00:00
imx Enable -Wredundant-decls warning check 2020-01-28 11:09:02 -06:00
intel/soc Merge "intel: Fix Coverity Scan Defects" into integration 2020-02-20 09:53:26 +00:00
layerscape layerscape: Unify Platform specific defines for PSCI module 2020-01-24 13:15:40 +00:00
marvell plat: marvell: armada: scp_bl2: allow loading up to 8 images 2020-01-30 23:13:07 +01:00
mediatek Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00
nvidia/tegra Tegra: common: improve cyclomatic complexity 2020-02-20 09:25:45 -08:00
qemu qemu: define ARMV7_SUPPORTS_VFP 2020-02-07 12:19:34 +01:00
renesas/rcar rcar_gen3: plat: Minor coding style fix for rcar_version.h 2020-02-15 10:46:00 +01:00
rockchip Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00
rpi Merge "rpi3/4: Add support for offlining CPUs" into integration 2020-01-20 22:16:43 +00:00
socionext Merge changes from topic "uniphier" into integration 2020-02-14 08:26:05 +00:00
st Enable -Wredundant-decls warning check 2020-01-28 11:09:02 -06:00
ti/k3 Merge "Use correct type when reading SCR register" into integration 2020-01-30 16:55:55 +00:00
xilinx xilinx: versal: Pass result count to pm_get_callbackdata() 2020-01-30 11:31:52 -08:00