diff options
author | Jun Nie <jun.nie@linaro.org> | 2019-06-13 11:38:24 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2019-07-17 16:03:20 +0800 |
commit | c5937f2d1d3ce4c24026d77d57f2fe80414a787f (patch) | |
tree | 272bd9a0d126eec71d16b83ef46a611aa6491fdd /plat/imx/imx7/warp7/warp7_image_load.c | |
parent | dc150425c36c83edf48654424fcbbc98ee17acea (diff) | |
download | trusted-firmware-a-c5937f2d1d3ce4c24026d77d57f2fe80414a787f.tar.gz |
plat: imx7: refactor code for reuse
For the iMX7 SOCs, part of the code for platform
setup implementation can be reused and made
common for all these SoCs. This patch extracts
the common part for reuse.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Change-Id: I42fd4167e6903416df96a0159a046abf3896e878
Diffstat (limited to 'plat/imx/imx7/warp7/warp7_image_load.c')
-rw-r--r-- | plat/imx/imx7/warp7/warp7_image_load.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/plat/imx/imx7/warp7/warp7_image_load.c b/plat/imx/imx7/warp7/warp7_image_load.c deleted file mode 100644 index c3e47b9d7d..0000000000 --- a/plat/imx/imx7/warp7/warp7_image_load.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#include <common/bl_common.h> -#include <common/desc_image_load.h> -#include <plat/common/platform.h> - -void plat_flush_next_bl_params(void) -{ - flush_bl_params_desc(); -} - -bl_load_info_t *plat_get_bl_image_load_info(void) -{ - return get_bl_load_info_from_mem_params_desc(); -} - -bl_params_t *plat_get_next_bl_params(void) -{ - return get_next_bl_params_from_mem_params_desc(); -} |