2018-11-02 23:21:03 +09:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* K3: Architecture common definitions
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
* Lokesh Vutla <lokeshvutla@ti.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <asm/armv7_mpu.h>
|
|
|
|
|
2020-07-24 21:42:06 +09:00
|
|
|
#define AM65X 0xbb5a
|
|
|
|
#define J721E 0xbb64
|
|
|
|
|
|
|
|
#define REV_PG1_0 0
|
|
|
|
#define REV_PG2_0 1
|
|
|
|
|
2020-01-11 04:35:21 +09:00
|
|
|
struct fwl_data {
|
|
|
|
const char *name;
|
|
|
|
u16 fwl_id;
|
|
|
|
u16 regions;
|
|
|
|
};
|
|
|
|
|
2018-11-02 23:21:03 +09:00
|
|
|
void setup_k3_mpu_regions(void);
|
2019-08-16 05:55:28 +09:00
|
|
|
int early_console_init(void);
|
2019-12-31 19:19:55 +09:00
|
|
|
void disable_linefill_optimization(void);
|
2020-01-11 04:35:21 +09:00
|
|
|
void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
|
2020-02-12 17:25:04 +09:00
|
|
|
void start_non_linux_remote_cores(void);
|
|
|
|
int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
|
2020-03-10 20:20:58 +09:00
|
|
|
void k3_sysfw_print_ver(void);
|
2020-05-18 14:57:22 +09:00
|
|
|
void spl_enable_dcache(void);
|