Kconfig.soc 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. choice
  2. prompt "SoC Type"
  3. default META21_FPGA
  4. config META12_FPGA
  5. bool "Meta 1.2 FPGA"
  6. select METAG_META12
  7. help
  8. This is a Meta 1.2 FPGA bitstream, just a bare CPU.
  9. config META21_FPGA
  10. bool "Meta 2.1 FPGA"
  11. select METAG_META21
  12. help
  13. This is a Meta 2.1 FPGA bitstream, just a bare CPU.
  14. config SOC_TZ1090
  15. bool "Toumaz Xenif TZ1090 SoC (Comet)"
  16. select ARCH_WANT_OPTIONAL_GPIOLIB
  17. select IMGPDC_IRQ
  18. select METAG_LNKGET_AROUND_CACHE
  19. select METAG_META21
  20. select METAG_SMP_WRITE_REORDERING
  21. select PINCTRL
  22. select PINCTRL_TZ1090
  23. select PINCTRL_TZ1090_PDC
  24. help
  25. This is a Toumaz Technology Xenif TZ1090 (A.K.A. Comet) SoC containing
  26. a 2-threaded HTP.
  27. endchoice
  28. menu "SoC configuration"
  29. if METAG_META21
  30. # Meta 2.x specific options
  31. config METAG_META21_MMU
  32. bool "Meta 2.x MMU mode"
  33. default y
  34. help
  35. Use the Meta 2.x MMU in extended mode.
  36. config METAG_UNALIGNED
  37. bool "Meta 2.x unaligned access checking"
  38. default y
  39. help
  40. All memory accesses will be checked for alignment and an exception
  41. raised on unaligned accesses. This feature does cost performance
  42. but without it there will be no notification of this type of error.
  43. config METAG_USER_TCM
  44. bool "Meta on-chip memory support for userland"
  45. select GENERIC_ALLOCATOR
  46. default y
  47. help
  48. Allow the on-chip memories of Meta SoCs to be used by user
  49. applications.
  50. endif
  51. config METAG_HALT_ON_PANIC
  52. bool "Halt the core on panic"
  53. help
  54. Halt the core when a panic occurs. This is useful when running
  55. pre-production silicon or in an FPGA environment.
  56. endmenu