arm-trusted-firmware/plat/nvidia/tegra/common
Douglas Raillard 32f0d3c6c3 Replace some memset call by zeromem
Replace all use of memset by zeromem when zeroing moderately-sized
structure by applying the following transformation:
memset(x, 0, sizeof(x)) => zeromem(x, sizeof(x))

As the Trusted Firmware is compiled with -ffreestanding, it forbids the
compiler from using __builtin_memset and forces it to generate calls to
the slow memset implementation. Zeromem is a near drop in replacement
for this use case, with a more efficient implementation on both AArch32
and AArch64.

Change-Id: Ia7f3a90e888b96d056881be09f0b4d65b41aa79e
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
2017-02-06 17:01:39 +00:00
..
aarch64 Disable PL011 UART before configuring it 2016-01-21 17:27:47 +00:00
drivers Replace some memset call by zeromem 2017-02-06 17:01:39 +00:00
tegra_bl31_setup.c Move BL_COHERENT_RAM_BASE/END defines to common_def.h 2017-01-18 19:33:41 +09:00
tegra_common.mk Migrate platform makefile to new console driver location 2016-08-09 17:33:57 +01:00
tegra_delay_timer.c Tegra: introduce delay timer support 2015-07-17 19:06:36 +05:30
tegra_gic.c Add missing features to the Tegra GIC driver 2015-06-22 14:55:49 +05:30
tegra_pm.c Tegra: remove support for legacy platform APIs 2015-12-04 15:41:20 -08:00
tegra_sip_calls.c Tegra: Support for Tegra's T132 platforms 2015-07-24 09:25:23 +05:30
tegra_topology.c Tegra: remove support for legacy platform APIs 2015-12-04 15:41:20 -08:00