ddr: vybrid: Provide code to perform on-boot calibration
[pandora-u-boot.git] / arch / arm / mach-imx / Kconfig
index 81ab125..8631fbd 100644 (file)
@@ -1,9 +1,18 @@
+config HAS_CAAM
+       bool
+
 config IMX_CONFIG
        string
 
 config ROM_UNIFIED_SECTIONS
        bool
 
+config SYSCOUNTER_TIMER
+       bool
+
+config GPT_TIMER
+       bool
+
 config IMX_RDC
        bool "i.MX Resource domain controller driver"
        depends on ARCH_MX6 || ARCH_MX7
@@ -28,7 +37,7 @@ config USE_IMXIMG_PLUGIN
 config SECURE_BOOT
        bool "Support i.MX HAB features"
        depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
-       select FSL_CAAM
+       select FSL_CAAM if HAS_CAAM
        imply CMD_DEKBLOB
        help
          This option enables the support for secure boot (HAB).
@@ -37,7 +46,7 @@ config SECURE_BOOT
 config CMD_BMODE
        bool "Support the 'bmode' command"
        default y
-       depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
+       depends on ARCH_MX6 || ARCH_MX5
        help
          This enables the 'bmode' (bootmode) command for forcing
          a boot from specific media.
@@ -69,3 +78,15 @@ config NXP_BOARD_REVISION
          NXP boards based on i.MX6/7 contain the board revision information
          stored in the fuses. Select this option if you want to be able to
          retrieve the board revision information.
+
+config DDRMC_VF610_CALIBRATION
+       bool "Enable DDRMC (DDR3) on-chip calibration"
+       depends on ARCH_VF610
+       help
+         Vybrid (vf610) SoC provides some on-chip facility to tune the DDR3
+         memory parameters. Select this option if you want to calculate them
+         at boot time.
+         NOTE:
+         NXP does NOT recommend to perform this calibration at each boot. One
+         shall perform it on a new PCB and then use those values to program
+         the ddrmc_cr_setting on relevant board file.