blob: 9147caac5d472739f88ecdb7e7d2a9da29d97f84 [file] [log] [blame]
Sheetal Tigadoli13680c92019-12-13 10:39:06 +05301/*
2 * Copyright (c) 2019-2020, Broadcom
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PLAT_BRCM_H
8#define PLAT_BRCM_H
9
10#include <stdint.h>
11
12#include <lib/cassert.h>
13#include <lib/utils_def.h>
14#include <lib/xlat_tables/xlat_tables.h>
15
16#include <platform_def.h>
17
18struct image_info;
19
20/* Global variables */
21extern const mmap_region_t plat_brcm_mmap[];
22
23uint32_t brcm_get_spsr_for_bl32_entry(void);
24uint32_t brcm_get_spsr_for_bl33_entry(void);
25const mmap_region_t *plat_brcm_get_mmap(void);
26int bcm_bl2_handle_scp_bl2(struct image_info *image_info);
27void plat_brcm_io_setup(void);
28void plat_brcm_process_flags(uint16_t plat_toc_flags);
29
30#endif /* PLAT_BRCM_H */