summaryrefslogtreecommitdiff
path: root/board/toradex/apalis-imx8qxp/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'board/toradex/apalis-imx8qxp/Kconfig')
-rw-r--r--board/toradex/apalis-imx8qxp/Kconfig38
1 files changed, 38 insertions, 0 deletions
diff --git a/board/toradex/apalis-imx8qxp/Kconfig b/board/toradex/apalis-imx8qxp/Kconfig
new file mode 100644
index 0000000000..f89df49864
--- /dev/null
+++ b/board/toradex/apalis-imx8qxp/Kconfig
@@ -0,0 +1,38 @@
+if TARGET_APALIS_IMX8QXP
+
+config SYS_BOARD
+ default "apalis-imx8qxp"
+
+config SYS_VENDOR
+ default "toradex"
+
+config SYS_CONFIG_NAME
+ default "apalis-imx8qxp"
+
+config TDX_CFG_BLOCK
+ default y
+
+config TDX_HAVE_MMC
+ default y
+
+config TDX_CFG_BLOCK_DEV
+ default "0"
+
+config TDX_CFG_BLOCK_PART
+ default "1"
+
+# Toradex config block in eMMC, at the end of 1st "boot sector"
+config TDX_CFG_BLOCK_OFFSET
+ default "-512"
+
+config TDX_CMD_IMX_MFGR
+ bool "Enable factory testing commands for Toradex Apalis iMX8QXP modules"
+ help
+ This adds the commands
+ pf8100_otp_prog - Program the OTP fuses on the PMIC PF8100
+ If executed on already fused modules it doesn't change any fuse setting.
+ default y
+
+source "board/toradex/common/Kconfig"
+
+endif