arm-trusted-firmware/plat/rockchip/rk3399/drivers
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
..
dram Replace some memset call by zeromem 2017-02-06 17:01:39 +00:00
gpio rockchip/rk3399: improve gpio driver and support get pull mode function 2016-09-10 04:06:39 +08:00
m0 rockchip: Build m0 firmware without standard libraries 2017-01-04 19:06:14 +01:00
pmu Fix incorrect copyright notices 2016-12-14 14:31:32 +00:00
pwm rockchip: update to handle PWMs for rk3399 2016-08-11 13:09:28 +08:00
soc utils: move BIT(n) macro to utils.h 2017-01-13 04:34:24 +09:00