Kconfig.soc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. endchoice
  15. menu "SoC configuration"
  16. if METAG_META21
  17. # Meta 2.x specific options
  18. config METAG_META21_MMU
  19. bool "Meta 2.x MMU mode"
  20. default y
  21. help
  22. Use the Meta 2.x MMU in extended mode.
  23. config METAG_UNALIGNED
  24. bool "Meta 2.x unaligned access checking"
  25. default y
  26. help
  27. All memory accesses will be checked for alignment and an exception
  28. raised on unaligned accesses. This feature does cost performance
  29. but without it there will be no notification of this type of error.
  30. config METAG_USER_TCM
  31. bool "Meta on-chip memory support for userland"
  32. select GENERIC_ALLOCATOR
  33. default y
  34. help
  35. Allow the on-chip memories of Meta SoCs to be used by user
  36. applications.
  37. endif
  38. config METAG_HALT_ON_PANIC
  39. bool "Halt the core on panic"
  40. help
  41. Halt the core when a panic occurs. This is useful when running
  42. pre-production silicon or in an FPGA environment.
  43. endmenu