diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-02-16 14:49:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 14:49:37 +0000 |
commit | 108e4df7f167bccc2c9ccef87bdd62d15c3aa74b (patch) | |
tree | eab88468edac4c5281fc3116536de4726368a70d /plat/qemu/qemu_bl2_setup.c | |
parent | 406a4ade146a4d0caa8a763de8e024a92085a08a (diff) | |
parent | 32f0d3c6c3fb1fb9353ec0b82ddb099281b9328c (diff) |
Merge pull request #834 from douglas-raillard-arm/dr/use_dc_zva_zeroing
Use DC ZVA instruction to zero memory
Diffstat (limited to 'plat/qemu/qemu_bl2_setup.c')
-rw-r--r-- | plat/qemu/qemu_bl2_setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/qemu/qemu_bl2_setup.c b/plat/qemu/qemu_bl2_setup.c index dba3beeb..738d671a 100644 --- a/plat/qemu/qemu_bl2_setup.c +++ b/plat/qemu/qemu_bl2_setup.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -35,7 +35,7 @@ #include <platform_def.h> #include "qemu_private.h" #include <string.h> - +#include <utils.h> /* * The next 2 constants identify the extents of the code & RO data region. @@ -91,7 +91,7 @@ bl31_params_t *bl2_plat_get_bl31_params(void) * Initialise the memory for all the arguments that needs to * be passed to BL3-1 */ - memset(&bl31_params_mem, 0, sizeof(bl2_to_bl31_params_mem_t)); + zeromem(&bl31_params_mem, sizeof(bl2_to_bl31_params_mem_t)); /* Assign memory for TF related information */ bl2_to_bl31_params = &bl31_params_mem.bl31_params; |