From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BE27C07E9B for ; Wed, 21 Jul 2021 08:27:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B16EF60FDA for ; Wed, 21 Jul 2021 08:27:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B16EF60FDA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F064582916; Wed, 21 Jul 2021 10:27:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1626856063; bh=X1u1CQAUOWauW272fB4ALJAU/Yp5dZsb8I2bUEGeA+Q=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gLUdryZERKCP8c5CXKW/1kGqrMnqyQC2WF3i5ygFBHSb23p/lSjEr8kQQTmgohGHT Ceuw9nvhwB+uBUurCpwMZHIN6Lale4FHZqsNsoLJU3fIzhD5/586woeYAELtrPibVk Ow0+cUi4FqmlR6r36fLD7JXeMr7MfJPyLLyNvIxZyK3vYO9jHScC+u6FbUPJTz4e9Y DRwRlf+AG93NXTK9genq0RBTuFH+C00oZC9xnxF/MriqXEO1kBvVIa+qDKhDmwUvFq YZsYpeNxnbr5lFZgbI3J3B5y6ijXelu/A4m5ktb3lImkArEVLiTgj7KrIq1gPPm20B 6K7B9JP0oePTg== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 373FC81280 for ; Wed, 21 Jul 2021 10:27:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1626856061; bh=X1u1CQAUOWauW272fB4ALJAU/Yp5dZsb8I2bUEGeA+Q=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=iK3D+n7BzkRYkxC9ELMbiHN1RyzHcuzuWBg6dqaK4cAe9Kwm1D7v4wj2wyE+vPXjT bbT0fUNSOSClZ2iNzgBa7OSuQ6NVRKPv7ddKR7AGE47PTHxb7kFO1TQ6DEMrQuV+WR CND/4BXZGogguzU4zn+yBUtJZWxNo0q7HXgGTUToyjmo4Mv61ia8PEOPfLEkqz4w9v qSCLmy5PGY1h8ExyJo190Sp346QKagNYb4nXGqtJMUVsh4XuEK/yKthhJGRS8MGMFP I9CYUracpk5NEWlMu9tVnT+eMSPxdE6VN1q6iCqQCYzJ5AdFAkZ61LpqFe/OyXhEtx TR6MJcq0viKlw== Received: by janitor.denx.de (Postfix, from userid 108) id B84B0A02EA; Wed, 21 Jul 2021 10:27:40 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 64CC0A00A4; Wed, 21 Jul 2021 10:27:32 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id 0BE9F1E14C3; Wed, 21 Jul 2021 10:27:32 +0200 (CEST) To: Simon Glass cc: U-Boot Mailing List , Eugeniu Rosca , Roland Gaudig , Heinrich Schuchardt , Stefan Herbrechtsmeier , Sean Anderson , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Tom Rini , Marek Vasut From: Wolfgang Denk Subject: Re: [PATCH 13/15] RFC: lib: Support a binary prefix 0y MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: <20210720132940.1171011-14-sjg@chromium.org> References: <20210720132940.1171011-1-sjg@chromium.org> <20210720132940.1171011-14-sjg@chromium.org> Comments: In-reply-to Simon Glass message dated "Tue, 20 Jul 2021 07:29:37 -0600." Date: Wed, 21 Jul 2021 10:27:32 +0200 Message-ID: <913691.1626856052@gemini.denx.de> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Dear Simon, In message <20210720132940.1171011-14-sjg@chromium.org> you wrote: > In some cases it is useful to be able to supply a binary value to a > command. Use the '0y' prefix for this (binarY). We also don't handle octal input yet, and also miss a number of other interesting numberbases, like 42. But ... do we really *need* all this stuff? %% (signatures) Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away. - Antoine de Saint-Exupery Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de PROGRAM - n. A magic spell cast over a computer allowing it to turn one's input into error messages. v. tr. - To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward.