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 39FEDC12002 for ; Wed, 21 Jul 2021 07:42:31 +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 EBCC960241 for ; Wed, 21 Jul 2021 07:42:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EBCC960241 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 B42E381280; Wed, 21 Jul 2021 09:42:27 +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=1626853348; bh=EYc+IrK0cyykE+cNqmQ7n5FvuP6ii54pPRAq7/icFKA=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=C3Ri0bd+fvfCk+HVH864uescUi6HyCBJAqHVtR82PKnDpGDKDKmm4SNTCgSrG/GHL 5C1GvIA651tKh5VV++Vg0rGwbPdoXTjFqz+4yG8sjCnqyrioplpOkshnEKV5CjiWDX 4as3I8ePE93+2nj1Lqjr+emBFuUVFztury5M338HaAXCuFG7mKZbQpqs8YmXBd6v5d 3ujnpMcikXmx4beMom9n8eocFo3fmr6/NL5mpCJPvq4WD11xZrAFISHLPWWrpN5kDx FjHRXJAefRudCltghyaVI+xZDsxFSQXEvWmQ0gygFf5Y2nNXIDwhgb1Qrso8JYGx2D wUjhkZ4WgRj6w== 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 80E3A81D6C for ; Wed, 21 Jul 2021 09:42:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1626853346; bh=EYc+IrK0cyykE+cNqmQ7n5FvuP6ii54pPRAq7/icFKA=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=Owus4RzlvQH4UFq9jBLexJja7CMZtKcCiFu1YNF6S5hAjCGJWxCAcojNIVDZoYTPb uoaMTn2o8B8prdzB20NdOUQ4SyrWphf7Ac6MpQzFKZjYwZw3cpZzKuGqWHqpYQtriI xKOYuMA/tiqgWjYHAfRCnyHK6TTCMNjRGr1lR4P5yXAB1G1VhLRQjAiWks3+jS5xeG v2xKbr4PxCLBE4E+5NbMPx1Mcs57DjotU5mBjV6d7d4T4zffb8QCd7qNWEXtZe5DQU +DgfIJamEmw1FFSTTwCxDNcENf68Tctv7Kq19BCwgEwxdQJR0zn4goK90UNEb58K3T MpPlWiawUxxUQ== Received: by janitor.denx.de (Postfix, from userid 108) id 398D9A0162; Wed, 21 Jul 2021 09:42:26 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 6853FA0057; Wed, 21 Jul 2021 09:42:16 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id 218BD1E14C3; Wed, 21 Jul 2021 09:42:16 +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 , Joe Hershberger From: Wolfgang Denk Subject: Re: [PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: <20210720132940.1171011-1-sjg@chromium.org> References: <20210720132940.1171011-1-sjg@chromium.org> Comments: In-reply-to Simon Glass message dated "Tue, 20 Jul 2021 07:29:24 -0600." Date: Wed, 21 Jul 2021 09:42:16 +0200 Message-ID: <911779.1626853336@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-1-sjg@chromium.org> you wrote: > U-Boot mostly uses hex for value input, largely because addresses are much > easier to understand in hex. > > But in some cases a hex value is requested, but it is more convenient to > provide a decimal value. This may be because the value comes from another > source, where its base cannot be controlled. > > This series adds support for a 0m prefix to indicate a decimal number. The > letter 'm' is chosen because: What is the impact of this change on the U-Boot size for typical configurations? 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 Sorry, but my karma just ran over your dogma.