menuconfig VHA
       tristate "IMG neural network accelerator"
       default m

if VHA
choice 
      prompt "VHA platform"
      config VHA_XUANTIE_TH1520
             bool "driver runs with XUANTIE TH1520 FM hw platform using a device tree."
             select HW_AX3
             select VHA_LO_PRI_SUBSEGS
      config VHA_XUANTIE_TH1520_FPGA_C910
             bool "driver runs with XUANTIE TH1520-FPGA hw platform using a device tree."
             select HW_AX3
      config VHA_DUMMY
             bool "driver runs without hardware."
             select HW_AX3
endchoice

config TARGET_OSID
      int
      default 0
config HW_AX3
      bool "driver runs AX31xx/AX33xx/AX35xx hardware."
      select VHA_MMU_MIRRORED_CTX
      select VHA_SYS_AURA
config VHA_MMU_MIRRORED_CTX
      bool "driver is compiled with mirrored MMU page tables regarding MODEL & IO."
      depends on HW_AX3
config VHA_SYS_AURA
      bool "driver runs with Aura system configuration file."
      depends on HW_AX3
config VHA_LO_PRI_SUBSEGS
      bool "driver is compiled to support low priority subsegments"
      depends on HW_AX3
endif
