1 /* 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 #include <asm/hardware.h>
11 
12 #define J721E  0xbb64
13 #define J7200  0xbb6d
14 
15 struct fwl_data {
16 	const char *name;
17 	u16 fwl_id;
18 	u16 regions;
19 };
20 
21 void setup_k3_mpu_regions(void);
22 int early_console_init(void);
23 void disable_linefill_optimization(void);
24 void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
25 void start_non_linux_remote_cores(void);
26 int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
27 void k3_sysfw_print_ver(void);
28 void spl_enable_dcache(void);
29 void mmr_unlock(phys_addr_t base, u32 partition);
30 bool is_rom_loaded_sysfw(struct rom_extended_boot_data *data);
31