diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot/arch/arm/mach-k3/common.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/arm/mach-k3/common.h')
-rw-r--r-- | roms/u-boot/arch/arm/mach-k3/common.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-k3/common.h b/roms/u-boot/arch/arm/mach-k3/common.h new file mode 100644 index 000000000..a6dbc7808 --- /dev/null +++ b/roms/u-boot/arch/arm/mach-k3/common.h @@ -0,0 +1,30 @@ +/* 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> +#include <asm/hardware.h> + +#define J721E 0xbb64 +#define J7200 0xbb6d + +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); +void spl_enable_dcache(void); +void mmr_unlock(phys_addr_t base, u32 partition); +bool is_rom_loaded_sysfw(struct rom_extended_boot_data *data); |