summaryrefslogtreecommitdiff
path: root/board/toradex/apalis_t30
diff options
context:
space:
mode:
authorSvyatoslav Ryhel <[email protected]>2025-03-31 17:18:18 +0300
committerSvyatoslav Ryhel <[email protected]>2025-04-12 11:11:05 +0300
commit9ee12daa591b8adefa8ae221295a85e2ee467742 (patch)
tree268b729bbefd6ad2790f32568a274ae870a574ae /board/toradex/apalis_t30
parentee3462160cf2fdf29b44ef83df0265a19c37bc0a (diff)
ARM: tegra: replace per-device config headers with generic Tegra
Most device headers contain SoC specific part and common Tegra post part. Add a generic header which can be used by any Tegra device of one of the supported SoC generations (T20, T30, T114, T124 or T210) without need in device specific configuration. Signed-off-by: Svyatoslav Ryhel <[email protected]>
Diffstat (limited to 'board/toradex/apalis_t30')
-rw-r--r--board/toradex/apalis_t30/Kconfig2
-rw-r--r--board/toradex/apalis_t30/apalis_t30.env9
2 files changed, 10 insertions, 1 deletions
diff --git a/board/toradex/apalis_t30/Kconfig b/board/toradex/apalis_t30/Kconfig
index 9cd497091d6..6260f8eb7f4 100644
--- a/board/toradex/apalis_t30/Kconfig
+++ b/board/toradex/apalis_t30/Kconfig
@@ -7,7 +7,7 @@ config SYS_VENDOR
default "toradex"
config SYS_CONFIG_NAME
- default "apalis_t30"
+ default "tegra"
config TDX_CFG_BLOCK
default y
diff --git a/board/toradex/apalis_t30/apalis_t30.env b/board/toradex/apalis_t30/apalis_t30.env
index a8f2904bcd7..85d0a05d0e1 100644
--- a/board/toradex/apalis_t30/apalis_t30.env
+++ b/board/toradex/apalis_t30/apalis_t30.env
@@ -1,6 +1,15 @@
uboot_hwpart=1
uboot_blk=0
+/*
+ * Board-specific serial config
+ *
+ * Apalis UART1: NVIDIA UARTA
+ * Apalis UART2: NVIDIA UARTD
+ * Apalis UART3: NVIDIA UARTB
+ * Apalis UART4: NVIDIA UARTC
+ */
+
set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff &&
setexpr blkcnt ${blkcnt} / 0x200
update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} &&