Message ID | 20210124174331.3462226-3-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Ezt7bhQ6; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DP0vZ0BnFz9sRf for <incoming@patchwork.ozlabs.org>; Mon, 25 Jan 2021 04:52:41 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 06A24827EF; Sun, 24 Jan 2021 18:51:31 +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="Ezt7bhQ6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ABFBB8276E; Sun, 24 Jan 2021 18:51: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.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (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 E2960826CF for <u-boot@lists.denx.de>; Sun, 24 Jan 2021 18:51:08 +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-pj1-x1029.google.com with SMTP id jx18so1554982pjb.5 for <u-boot@lists.denx.de>; Sun, 24 Jan 2021 09:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yzXE4QttWo2BUOqz8os1OwjIHjgNUTjDA497XCiIlYc=; b=Ezt7bhQ6SNUkfrgv/hdGBu3d+NbYmucyrt5cpbsA3Hsf+xqoxG1FC0OwkrrL0tjB4Z bJx8GLYoMQyMxyeBRDqcLbsw123wZHkPdYIBaOYwuhg2/c7PktYI55puxy/K5H2ZKZ0g Zkgn5ptzgIKnLxBgr21VtK42Me8ll/70aoMT8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yzXE4QttWo2BUOqz8os1OwjIHjgNUTjDA497XCiIlYc=; b=fp6pDdH2gQf26+yXuQ9cqrXk/I4zhhu4YAHeF4wf0NOZEEZ+D2aLh8mfwSN/D2mszk HfCFX/U5UkcOo24t3cr6x+h+UjtuFlf745ucOT3xLJzk0kb7UYoafilD7JfoIBWcy/MR EM+BMELNyjdaC+1NJzNQd+nk1qpKAZK/ZBz7fScz7VxsFELDsh9om3d97ztG9xwFrkWo uLAXulbdS+KCPicdaURLWAkEt+MkDN4Yy4yuRF7rRDtll8fsnhxPleYXucDyLBAQofQF +BwN+w8zR3UgrNalVxcK8MVxHnaeyGwgEkewIBV/cxb0C74KTaPnUs0C2bhIu+a+mO4U M8hQ== X-Gm-Message-State: AOAM53397EFR/bJnfWQxCz+tgoQ0ktBLK5z3G0FwtWozLf9CDzmpeox3 6+IGVWu4qRq3aFWh3YlI+ipnr/RuMokofKhs X-Google-Smtp-Source: ABdhPJx8FF19J4371hx6o+FWEPoxocfXjx/uQdWr2unpiM+8eZ3wdxy4rA1Cghi1FbrzBn2GCH7zvQ== X-Received: by 2002:a17:90b:8d7:: with SMTP id ds23mr17491260pjb.116.1611510667168; Sun, 24 Jan 2021 09:51:07 -0800 (PST) Received: from sjg1.home ([2600:6c4c:507f:f8e5:0:ec6e:a61e:6ad]) by smtp.gmail.com with ESMTPSA id w186sm10220673pfc.182.2021.01.24.09.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 09:51:06 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 10/12] sysinfo: Move #ifdef so that operations are always defined Date: Sun, 24 Jan 2021 10:43:29 -0700 Message-Id: <20210124174331.3462226-3-sjg@chromium.org> X-Mailer: git-send-email 2.30.0.280.ga3ce27912f-goog In-Reply-To: <20210124174331.3462226-1-sjg@chromium.org> References: <20210124174331.3462226-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <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>, <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.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
smbios: Enhancements for more flexibility
|
expand
|
diff --git a/include/sysinfo.h b/include/sysinfo.h index c045d316b07..6e021253524 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -31,7 +31,6 @@ * to read the serial number. */ -#if CONFIG_IS_ENABLED(SYSINFO) struct sysinfo_ops { /** * detect() - Run the hardware info detection procedure for this @@ -102,6 +101,7 @@ struct sysinfo_ops { #define sysinfo_get_ops(dev) ((struct sysinfo_ops *)(dev)->driver->ops) +#if CONFIG_IS_ENABLED(SYSINFO) /** * sysinfo_detect() - Run the hardware info detection procedure for this device. *