common.h 648 B

123456789101112131415161718192021222324
  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. #include <asm/armv7_mpu.h>
  9. struct fwl_data {
  10. const char *name;
  11. u16 fwl_id;
  12. u16 regions;
  13. };
  14. void setup_k3_mpu_regions(void);
  15. int early_console_init(void);
  16. void disable_linefill_optimization(void);
  17. void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
  18. void start_non_linux_remote_cores(void);
  19. int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
  20. void k3_sysfw_print_ver(void);
  21. void spl_enable_dcache(void);