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 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 EFB15C636CD for ; Sun, 5 Feb 2023 22:42:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C6D2B859A6; Sun, 5 Feb 2023 23:40:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Z7EWLYWS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 144DA8593E; Sun, 5 Feb 2023 23:39:25 +0100 (CET) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 61CF585922 for ; Sun, 5 Feb 2023 23:38:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd32.google.com with SMTP id j17so2000277ioa.9 for ; Sun, 05 Feb 2023 14:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=i+fMGpuBc2SqMeIefOsUcvFyhkOCYOPSHTl4EejbQjQ=; b=Z7EWLYWSk0him576taCABjpoIPRGbSF/wYNQ2FzVSH9tm/SeJr5m1yPzlidvMVx7qb Tz+cHc0PFZLfbo8vhepyWbIGTY//Bq0colD+GaxCp6zRhZ1akNq+JFUKdE4oJNJ2RHtt ORh0mpSUb550N7BNIxqIVvMIXfwJnjTILHvPQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i+fMGpuBc2SqMeIefOsUcvFyhkOCYOPSHTl4EejbQjQ=; b=B0jkBsVzb4srwPhfRnSljB5O5N/XUSftd2uXoSmCOPp6Fya5/Z13asCbQj7JvTjjB3 SDhfuTY1JBl50FbF9r4TxoP1Rnq1OJjIJ00UDkUKlNv/x9Yect2ICo2G3bsKdCm0wTZp AFwinV0PZzt50NhoSsUY4uHbbsDkb4sMEOHym7nmJcr5ey8bl4h23JQlMabFr8EFxBEK 1aVrORrXB/TZWcHOdC5hwCKbCDQWOZNplS5b0rN0bYZ2bA1zKHRvb8X7Op0QdsDu37J7 Wzk64MjRKQIZ41Uud9pQC8wvBQjKOT068E9n2j+JFqEepXfQfzbvqNYCbwkEIHVbT6ey laBg== X-Gm-Message-State: AO0yUKUpMsV5PURJu1I/9nkIo3JmSgTDAWAx/McG0EyNflC2zf7lbXFH qFraXc/RMc8tRAwYCIib2f8N1Q1/7K/ZNeYH X-Google-Smtp-Source: AK7set/p58v5ocmzNEQAp2ceywwjbk3LfWLtivar1JRER+cwrZY79nb3XTCa2lnsbFFxaDy/j5E8UA== X-Received: by 2002:a6b:5b0a:0:b0:713:fe27:1df0 with SMTP id v10-20020a6b5b0a000000b00713fe271df0mr11924389ioh.1.1675636736639; Sun, 05 Feb 2023 14:38:56 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id m40-20020a05663840a800b003b49e7d990asm2856393jam.30.2023.02.05.14.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:38:56 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 014/169] lib: Add a Kconfig for SPL_ERRNO_STR Date: Sun, 5 Feb 2023 15:36:00 -0700 Message-Id: <20230205223836.231657-15-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205223836.231657-1-sjg@chromium.org> References: <20230205223836.231657-1-sjg@chromium.org> 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 This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- (no changes since v1) lib/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 549bd357785..999ae99bf68 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -782,6 +782,10 @@ config ERRNO_STR - if errno is null or positive number - a pointer to "Success" message - if errno is negative - a pointer to errno related message +config SPL_ERRNO_STR + def_bool n # Enable function for getting errno-related string message (SPL) + depends on SPL + config HEXDUMP bool "Enable hexdump" help -- 2.39.1.519.gcb327c4b5f-goog