common.h 692 B

1234567891011121314151617181920212223242526272829
  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. #define AM654 2
  10. #define J721E 4
  11. #define REV_PG1_0 0
  12. #define REV_PG2_0 1
  13. struct fwl_data {
  14. const char *name;
  15. u16 fwl_id;
  16. u16 regions;
  17. };
  18. void setup_k3_mpu_regions(void);
  19. int early_console_init(void);
  20. void disable_linefill_optimization(void);
  21. void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
  22. void start_non_linux_remote_cores(void);
  23. int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
  24. void k3_sysfw_print_ver(void);