Message ID | 20250904130459.848794-19-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991184; bh=pE2blgvU/G7zu5ht0KQz5RdD5TAhEoOYH5Oi2lnr/50=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=cRqX6gbbmA/QQEotxbIuCdft2BMcGnL4/zB+dM68HNcAla+7UDZY0SCy49XdPw4I0 ruKPFqIPvrck5fbfaPXf/AF+LOnsEuwXi4pjehZgmh96YO5YTraSVWvdfd05zKgJQd KmvOllvEDjOg304pvGQtrRLbnasiNeaCGcZt8GLLDEQeRij3wQKlGXZQ6GWmXwv8ZC fEYoiIT4A1fQXRKBonQpmEJ+vyvtgakx5RsKX+CdmgoPc3vZ1xlxbWTNEihCi0oOMn lBsVqhpKpnuwu33gz4Vy6Pc9tKma9YpwKcqZn+TFSFGy6gx6aRB9R9LgUZrIJSk0w/ uzT2OlQbqzIog== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 634B167961 for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:06:24 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id t1GYqaz_eFAM for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:06:24 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991184; bh=pE2blgvU/G7zu5ht0KQz5RdD5TAhEoOYH5Oi2lnr/50=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=cRqX6gbbmA/QQEotxbIuCdft2BMcGnL4/zB+dM68HNcAla+7UDZY0SCy49XdPw4I0 ruKPFqIPvrck5fbfaPXf/AF+LOnsEuwXi4pjehZgmh96YO5YTraSVWvdfd05zKgJQd KmvOllvEDjOg304pvGQtrRLbnasiNeaCGcZt8GLLDEQeRij3wQKlGXZQ6GWmXwv8ZC fEYoiIT4A1fQXRKBonQpmEJ+vyvtgakx5RsKX+CdmgoPc3vZ1xlxbWTNEihCi0oOMn lBsVqhpKpnuwu33gz4Vy6Pc9tKma9YpwKcqZn+TFSFGy6gx6aRB9R9LgUZrIJSk0w/ uzT2OlQbqzIog== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 51A3567959 for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:06:24 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991182; bh=wxbC04D1iX1SJsgrIQER4eu16qbYtPGcU1a4xXL0iFM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TSiajrJfmg4K6jZmbmhLls0/MdRUf78IEp0+NtuW5PIKZqLI/vRlBBeR1V9awaZwr ieqnDRTFCu7yxpmfkw5a6prY55FAbuuebVk2+RnhSZRhECahQ9dkMJ8ol4CLqEkbkZ I86dqTEcHiTahxwTWaT+w1Vf+yU0ipJa+6yKdGnA2la5JXE7a5RrIddYpo9hUYm0EO hhg1rh4iPK/NtUlpbW6IYleWp4sPKInhT6Vdj3z1bpCGP9APPH+kbExAiL3gfwGlVJ 4ShC7PLjCS57u+kKTwFrg1CRYrgLpPMaa21TBoIEjKhEI23hth/MDws9TndH9qHfSv lpPBBhhcVu9nw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 549AE678AB; Thu, 4 Sep 2025 07:06:22 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id y-RIp38Xz0rC; Thu, 4 Sep 2025 07:06:22 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991176; bh=ZsAvNTxODu575yxrEc7NTSx1OpniIr+bBTaITV9OluU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aQNIKgYWUE/JbK+o0HOuWhy3ZGk6fMa93l4t0TqjcO/Xf/La3SJ46EX3sSLg7dZz6 D9rUNE6qxl1sqh3SWE/Oy9Xld5WIXmzjoMY5QFoKFxhHpJeBiCGBWlxSAoHiHh3ti+ YVQ8NQsF9NnoFkqnCZCzpiUiNV5CFbksPHPCZ84zjweeLJIbkQHffb6VPXN+1ftnr6 eez57foUO98sbZyDmwDIUS2FvWPtPd/mwSszVsJGtuiuW12Pq1Z/rvCPNzhShEQ8V7 0CJ5XySG+wPQQ7dtDqy+DcS/RRojk5PqUD+32Qy7moRlTozG+Kg2VG20Ebow5oBT6v qqB4ntTlUPuxg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id E7C5E67974; Thu, 4 Sep 2025 07:06:15 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 4 Sep 2025 07:04:51 -0600 Message-ID: <20250904130459.848794-19-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250904130459.848794-1-sjg@u-boot.org> References: <20250904130459.848794-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 5VGXFL6LP5VHA3EOLF45S3WYH6YNFOPI X-Message-ID-Hash: 5VGXFL6LP5VHA3EOLF45S3WYH6YNFOPI X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 18/18] ulib: Drop dm stats for the library List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/5VGXFL6LP5VHA3EOLF45S3WYH6YNFOPI/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
ulib: Introduce building U-Boot as a shared library
|
|
Commit Message
Simon Glass
Sept. 4, 2025, 1:04 p.m. UTC
From: Simon Glass <sjg@chromium.org> When using the library it should start up silently. Drop the driver model message about the number of devices, etc. Signed-off-by: Simon Glass <sjg@chromium.org> --- common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_r.c b/common/board_r.c index 297fdc29ca9..ca1498de11e 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -504,7 +504,7 @@ static int dm_announce(void) int device_count; int uclass_count; - if (IS_ENABLED(CONFIG_DM)) { + if (IS_ENABLED(CONFIG_DM) && !gd_ulib()) { dm_get_stats(&device_count, &uclass_count); printf("Core: %d devices, %d uclasses", device_count, uclass_count);