{"id":2196212,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2196212/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260213051507.23466-1-hs@nabladev.com>","date":"2026-02-13T05:15:05","name":"[v2,0/2] Add for imx8x SoC get_boot_type command","submitter":{"id":91409,"url":"http://patchwork.ozlabs.org/api/1.0/people/91409/?format=json","name":"Heiko Schocher","email":"hs@nabladev.com"},"series":[{"id":492058,"url":"http://patchwork.ozlabs.org/api/1.0/series/492058/?format=json","date":"2026-02-13T05:15:05","name":"Add for imx8x SoC get_boot_type command","version":2,"mbox":"http://patchwork.ozlabs.org/series/492058/mbox/"}],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=nabladev.com header.i=@nabladev.com header.a=rsa-sha256\n header.s=dkim header.b=A+VUdUAP;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=nabladev.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=nabladev.com header.i=@nabladev.com\n header.b=\"A+VUdUAP\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=nabladev.com","phobos.denx.de; spf=pass smtp.mailfrom=hs@nabladev.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fC0jk6ZF4z1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 16:15:22 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id CEE2783B30;\n\tFri, 13 Feb 2026 06:15:20 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id 12CAD83D5D; Fri, 13 Feb 2026 06:15:19 +0100 (CET)","from mx.nabladev.com (mx.nabladev.com\n [IPv6:2a00:f820:417:0:178:251:229:89])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 27C9E83015\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 06:15:17 +0100 (CET)","from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 577511106D1; Fri, 13 Feb 2026 06:15:14 +0100 (CET)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=nabladev.com;\n s=dkim; t=1770959716; h=from:subject:date:message-id:to:cc:mime-version:\n content-transfer-encoding; bh=NOAYacnW4YfPRS3ziP5lfUnuTG+177MO0t27c6GXcwY=;\n b=A+VUdUAPPqBbU9fwLEULTJDpY9J19kdN8DNOmEa7UzZitNMD8hPj2VRZOf+/xYv8lwjKDY\n uQ3Oel0XOxqG0i+SLXR2kkd/2ObsCS3EVbzVG0whRisAOgJkwHSyfB/+lHBKPRdTfoLGLY\n 9iNj0yT9VpM2xNBhXgLVxQX4JlJrA3sJaooOECMAhDUSr1Ldb5JQqY7CbljSJeptmkpWCg\n 1Jau6XPmeLljkhO7p+/kS7q49Y2aSAneKPW8EeQzxsEbndPohdgUbzii56PrgCcaC46xXu\n t4SYjlOwA8Q5hIgfwYYZlPgxrdhvOOP30Hmz/ubErwVmoL11FXIHcLXB5KBu9Q==","From":"Heiko Schocher <hs@nabladev.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Cc":"Peng Fan <peng.fan@oss.nxp.com>, Heiko Schocher <hs@nabladev.com>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n Fabio Estevam <festevam@gmail.com>, John Ripple <john.ripple@keysight.com>,\n \"NXP i.MX U-Boot Team\" <uboot-imx@nxp.com>, Peng Fan <peng.fan@nxp.com>,\n Stefano Babic <sbabic@nabladev.com>, Tom Rini <trini@konsulko.com>,\n Walter Schweizer <walter.schweizer@siemens.com>","Subject":"[PATCH v2 0/2] Add for imx8x SoC get_boot_type command","Date":"Fri, 13 Feb 2026 06:15:05 +0100","Message-Id":"<20260213051507.23466-1-hs@nabladev.com>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Last-TLS-Session-Version":"TLSv1.3","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"add function sc_misc_get_boot_type() which requests from the\nSC the current used boottype and add a comand \"boottype\" which\nsaves the current boot_type in environment variable \"boottype\",\nso we can use this later.\n\nChanges in v2:\n- rebase to mainline\n  b99da05e153 - (tag: v2026.04-rc2, origin/master, origin/HEAD) Prepare v2026.04-rc2\n- add Reviewed-by from Peng\n- add description for the values returned, as suggested from Peng\n\nHeiko Schocher (2):\n  imx: scu_api: implement sc_misc_get_boot_type\n  imx8qx: misc: add command for getting boottype\n\n arch/arm/mach-imx/imx8/misc.c  | 33 +++++++++++++++++++++++++++++++++\n drivers/misc/imx8/scu_api.c    | 25 +++++++++++++++++++++++++\n include/firmware/imx/sci/sci.h |  1 +\n 3 files changed, 59 insertions(+)"}