blob: ba344c5bc9dd72c4e6ab2d100a40b432c250d9ab [file] [log] [blame]
Lokesh Vutlac1e60e82018-11-02 19:51:03 +05301/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * K3: Architecture common definitions
4 *
5 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
6 * Lokesh Vutla <lokeshvutla@ti.com>
7 */
8
9#include <asm/armv7_mpu.h>
10
Andrew F. Davisf0bcb662020-01-10 14:35:21 -050011struct fwl_data {
12 const char *name;
13 u16 fwl_id;
14 u16 regions;
15};
16
Lokesh Vutlac1e60e82018-11-02 19:51:03 +053017void setup_k3_mpu_regions(void);
Andreas Dannenbergd13ec8c2019-08-15 15:55:28 -050018int early_console_init(void);
Lokesh Vutla5fbd6fe2019-12-31 15:49:55 +053019void disable_linefill_optimization(void);
Andrew F. Davisf0bcb662020-01-10 14:35:21 -050020void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
Keerthy7007adc2020-02-12 13:55:04 +053021void start_non_linux_remote_cores(void);
22int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
Lokesh Vutla5fafe442020-03-10 16:50:58 +053023void k3_sysfw_print_ver(void);
Jan Kiszka7ce99f72020-05-18 07:57:22 +020024void spl_enable_dcache(void);