From 36544b7d6e53c8a501a6def40ac0370346e63b78 Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Tue, 6 Sep 2022 16:08:33 +0200 Subject: [PATCH] Add custom DTB support for imx8mm-var-som Change-type: patch Signed-off-by: Alexandru Costache --- src/config/backends/extra-uEnv.ts | 1 + test/legacy/33-extra-uenv-config.spec.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/config/backends/extra-uEnv.ts b/src/config/backends/extra-uEnv.ts index 32c0ceda..037cd6c3 100644 --- a/src/config/backends/extra-uEnv.ts +++ b/src/config/backends/extra-uEnv.ts @@ -62,6 +62,7 @@ export class ExtraUEnv extends ConfigBackend { deviceType.endsWith('-nano-2gb-devkit') || deviceType.endsWith('-tx2') || deviceType.includes('-tx2-nx') || + /imx8mm-var-som/.test(deviceType) || /imx8mm?-var-dart/.test(deviceType)) && (await exists(ExtraUEnv.bootConfigPath)) ); diff --git a/test/legacy/33-extra-uenv-config.spec.ts b/test/legacy/33-extra-uenv-config.spec.ts index 082c363d..028e2b31 100644 --- a/test/legacy/33-extra-uenv-config.spec.ts +++ b/test/legacy/33-extra-uenv-config.spec.ts @@ -273,5 +273,7 @@ const MATCH_TESTS = [ { type: 'imx8mm-var-dart', supported: true }, { type: 'imx8mm-var-dart-nrt', supported: true }, { type: 'imx8mm-var-dart-plt', supported: true }, + { type: 'imx8mm-var-som', supported: true }, + { type: 'imx8m-var-som', supported: false }, { type: 'imx6ul-var-dart', supported: false }, ];