mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 09:30:10 +00:00
e7510d443d
JTAG ID register is defined by IEEE 1149.1 for device identification. Use this JTAG ID register for identifying AM65x[0] and J721E[1] devices instead of using SoC specific registers. [0] http://www.ti.com/lit/ug/spruid7e/spruid7e.pdf [1] http://www.ti.com/lit/ug/spruil1a/spruil1a.pdf Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
29 lines
702 B
C
29 lines
702 B
C
/* 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>
|
|
|
|
#define AM65X 0xbb5a
|
|
#define J721E 0xbb64
|
|
|
|
#define REV_PG1_0 0
|
|
#define REV_PG2_0 1
|
|
|
|
struct fwl_data {
|
|
const char *name;
|
|
u16 fwl_id;
|
|
u16 regions;
|
|
};
|
|
|
|
void setup_k3_mpu_regions(void);
|
|
int early_console_init(void);
|
|
void disable_linefill_optimization(void);
|
|
void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
|
|
void start_non_linux_remote_cores(void);
|
|
int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
|
|
void k3_sysfw_print_ver(void);
|