diff options
Diffstat (limited to 'plat/nxp/board/warp7/plat_setup.c')
-rw-r--r-- | plat/nxp/board/warp7/plat_setup.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plat/nxp/board/warp7/plat_setup.c b/plat/nxp/board/warp7/plat_setup.c new file mode 100644 index 0000000..f68a653 --- /dev/null +++ b/plat/nxp/board/warp7/plat_setup.c @@ -0,0 +1,28 @@ +/** @file +* +* Copyright (c) 2018, ARM Limited. All rights reserved. +* +* This program and the accompanying materials +* are licensed and made available under the terms and conditions of the BSD License +* which accompanies this distribution. The full text of the license may be found at +* http://opensource.org/licenses/bsd-license.php +* +* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +* +**/ + +#include <arm_gic.h> +#include <mmio.h> +#include <plat_nxp.h> +#include <platform.h> + +void tftf_platform_setup(void) +{ + nxp_platform_setup(); +} + +void plat_nxp_gic_init(void) +{ + arm_gic_init(GICC_BASE, GICD_BASE, GICR_BASE); +} |