Config.in 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. config BR2_TARGET_TI_K3_IMAGE_GEN
  2. bool "ti-k3-image-gen"
  3. depends on BR2_TARGET_TI_K3_R5_LOADER
  4. select BR2_TARGET_TI_K3_BOOT_FIRMWARE
  5. # We need FIT support in uboot-tools, which is why we select a
  6. # host package
  7. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  8. select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT
  9. help
  10. Use TI's k3-image-gen to build a separate bare metal boot
  11. binary from a separate SPL that is running on the R5 core.
  12. https://git.ti.com/cgit/k3-image-gen/k3-image-gen/
  13. if BR2_TARGET_TI_K3_IMAGE_GEN
  14. choice
  15. prompt "SoC family"
  16. config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX
  17. bool "am62ax"
  18. config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X
  19. bool "am62x"
  20. config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X
  21. bool "am64x"
  22. config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X
  23. bool "am65x"
  24. endchoice
  25. choice
  26. prompt "Security type"
  27. help
  28. The target SoC security type option for image gen. Valid
  29. options are "gp" for General Purpose devices, "hs-fs" for
  30. High Security - Field Securable devices, or "hs" for High
  31. Security - Security Enforcing devices. Note for all High
  32. Security device variants the TI_SECURE_DEV_PKG environmental
  33. variable must be defined at build time pointing to a valid
  34. core-secdev-k3 folder location, otherwise the build will
  35. fail, see
  36. https://git.ti.com/cgit/security-development-tools/core-secdev-k3
  37. config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP
  38. bool "gp"
  39. config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS
  40. bool "hs-fs"
  41. config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS
  42. bool "hs"
  43. endchoice
  44. config BR2_TARGET_TI_K3_IMAGE_GEN_SOC
  45. string
  46. default "am62ax" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX
  47. default "am62x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X
  48. default "am64x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X
  49. default "am65x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X
  50. config BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE
  51. string
  52. default "ti-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX
  53. default "ti-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X
  54. default "ti-sci" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X
  55. default "ti-sci" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X
  56. config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE
  57. string
  58. default "gp" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP
  59. default "hs-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS
  60. default "hs" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS
  61. endif