Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 37FE7C636D4 for ; Wed, 15 Feb 2023 15:48:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 367E185977; Wed, 15 Feb 2023 16:48:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PVWoIBgf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7EB5A858ED; Wed, 15 Feb 2023 16:48:49 +0100 (CET) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 15881858ED for ; Wed, 15 Feb 2023 16:48:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clamor95@gmail.com Received: by mail-wm1-x32b.google.com with SMTP id az4-20020a05600c600400b003dff767a1f1so1868758wmb.2 for ; Wed, 15 Feb 2023 07:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=B3liIlvdSaqOeDvHFOBEjrjLSWzbD2GwkDTbKJd1s1A=; b=PVWoIBgf/4v3I1AZg5rQ+pmQ4iwnRN6G54mrWOizqt+IxJPSyGxRNgWSgPcbZjXRgJ Rpe1yaflP6e1zI8JHi+Y076u1xtuvY/3em4GrmWewVTDpH5nU/WkoZQzZWl7bPratzST hv1ikIFoisHPZbIG445OD4LXI0fSvDWThmwEBQf+QXS3W70oD4ODrs3u1WwKp5kEx79n i4BnUEpIDiDaEJ/253Mt+3iqWJpWTWkbv7fSsEXCtReBfT07cy34O3XlUvWxR+1JBdjd C1Yh0kNmcf947qaZ60STykZqjNXWyEIXrnS2rztUHwOx8UhHHvsnsXudyuwsPkaQsAqc DmmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B3liIlvdSaqOeDvHFOBEjrjLSWzbD2GwkDTbKJd1s1A=; b=2gPNvLz47NGQtnbrnf6PMFvdBH5NwlKXtx8vqXc1IKk+0AQMPyhctZ08ipNWIVCi6x W1AMNC//hptR4OeeOi2RWB3neW7x6YzLL/53EFgbQtZASx07qGEln0uNxpipyEkSChQg C2CAMAFbhuvEzLtDe7CdeG8nmURuyszsEUnERjWHPzE1ZjtmtqhJH8Wl8Sh5f0EvDkTt JKgEmHfXjCC2y9PZfAwfklpLjHVqKP2EbWAE2VxgXDH5B4OELGMTWrTQ4cFtbZJx9ltx n+93HMXd61YQGaNXJ5FJXg7xT7Ce94EMAdXOrvobTl1zt/ZMJ9cXgYlHWfXnAZv3o/aC 4Utw== X-Gm-Message-State: AO0yUKUBdL9RJ92DBd6xFVkPxOWWa3BSLX2qXc5oY/8kj6+WdTiXIQXU xPMxqK4YASOFfqaoRh8iGIk= X-Google-Smtp-Source: AK7set8P87iJvPFve/r6WDj3vho7gITBC/1FH26NGbewDL3+OQJXkXf5Q5GF5HEmOX7RoV7IbmL5KQ== X-Received: by 2002:a05:600c:708:b0:3e0:98c:dd93 with SMTP id i8-20020a05600c070800b003e0098cdd93mr2369731wmn.29.1676476126474; Wed, 15 Feb 2023 07:48:46 -0800 (PST) Received: from DESKTOP-BE01SG2.localdomain ([91.204.85.69]) by smtp.gmail.com with ESMTPSA id m22-20020a05600c3b1600b003daf6e3bc2fsm7280162wms.1.2023.02.15.07.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 07:48:45 -0800 (PST) From: Svyatoslav Ryhel To: Lukasz Majewski , Simon Glass , Ilias Apalodimas , Heinrich Schuchardt , Masahisa Kojima , John Keeping , Svyatoslav Ryhel , Maxim Schwalm Cc: u-boot@lists.denx.de Subject: [PATCH v3 0/1] CMD commands improvements Date: Wed, 15 Feb 2023 17:48:10 +0200 Message-Id: <20230215154811.214-1-clamor95@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean - add ability for 'ums' command to interrupt run of usb mass storage with any key. This is especially useful on devices with limited input capabilities like tablets and smatphones which have only gpio keys in direct access. Current implementation uses Kconfig entry. Changelog from v2 - fix stuck of ums due to getchar loop. Now getchar is called after tstc check. Changelog from v1 - 'continue' command commit was dropped as there already exists 'pause' command with same function. - UMS_ABORT_KEYED renamed to CMD_UMS_ABORT_KEYED Svyatoslav Ryhel (1): cmd: ums: abort mounting by pressing any key cmd/Kconfig | 6 ++++++ cmd/usb_mass_storage.c | 10 ++++++++++ 2 files changed, 16 insertions(+) -- 2.25.1