Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / mach-k3 / common.h
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
11 #define AM65X   0xbb5a
12 #define J721E   0xbb64
13
14 #define REV_PG1_0       0
15 #define REV_PG2_0       1
16
17 struct fwl_data {
18         const char *name;
19         u16 fwl_id;
20         u16 regions;
21 };
22
23 void setup_k3_mpu_regions(void);
24 int early_console_init(void);
25 void disable_linefill_optimization(void);
26 void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
27 void start_non_linux_remote_cores(void);
28 int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
29 void k3_sysfw_print_ver(void);
30 void spl_enable_dcache(void);