Message ID | 20250904130459.848794-18-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=1756991180; bh=2f470gDoDGMHcx9u4RKHSQqhzeCdlorG0bz/c8ZXtWY=; 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=I5XK4Q/NFVdY6jScfEuBKEKwVKZExE6jKJFzocOyo8qb0o2oZ2Io5drDprKLTFUyS 4FXwET8B/IcAiEVUA+AwdxsqAcdP13En3dwHrS4j5QQtIkKcU8wVNzNM4blrbz9XrT bzZkTut33jI7bbdW4dppjRLfpG95IESk7qw2DO+yrOdcgFOmmndGKSni7b3gx1gZky +bdMJitra2L7JAkEih2wu+zHVwWO1YbDEOiBmRY5KLaftxUlK17EUVAjOW03hlMD1f L57UfDCCxvLDpi6rdqUiOkp+brXu/W6oWq2XfVkOTfRsX0BCw/TovofFUvElJLJ61w /RlPE/xHKZkXQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 207106795C for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:06:20 -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 bDSrKZLTGTGx for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:06:20 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991180; bh=2f470gDoDGMHcx9u4RKHSQqhzeCdlorG0bz/c8ZXtWY=; 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=I5XK4Q/NFVdY6jScfEuBKEKwVKZExE6jKJFzocOyo8qb0o2oZ2Io5drDprKLTFUyS 4FXwET8B/IcAiEVUA+AwdxsqAcdP13En3dwHrS4j5QQtIkKcU8wVNzNM4blrbz9XrT bzZkTut33jI7bbdW4dppjRLfpG95IESk7qw2DO+yrOdcgFOmmndGKSni7b3gx1gZky +bdMJitra2L7JAkEih2wu+zHVwWO1YbDEOiBmRY5KLaftxUlK17EUVAjOW03hlMD1f L57UfDCCxvLDpi6rdqUiOkp+brXu/W6oWq2XfVkOTfRsX0BCw/TovofFUvElJLJ61w /RlPE/xHKZkXQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 02606678C8 for <u-boot-concept@u-boot.org>; Thu, 4 Sep 2025 07:06:20 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991178; bh=Pk+TLnO6YVyzTvY1siXK7sFaE25Vi42I8ggTFDWawSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tAx0HM5An1rvRq/gAgWBzkI7yMCKBtVJa0z1Q3GmvDp/EZCHTyMWnLBf5GU48PWl6 cf7BqWYTJTVUgPuyXZPDjagi8TgiVbbDB/Oz1tIlp/NnX3zQABzpkWqQZR02kAKRXc VMsPjkRzGeGSQj+F/kMBo+UOwKB+URpZCuGcwtwISTWgYelRuvRnZNBH4RrnHYLOON lNvsWtOApn6oWLkPSYJ6yTqtzApL1dSBVxdBpnYduGm5ZWC/SHky3GYeOFiZ/LVD1h gYqf/UV7sQ0BCSE7Z7acp5UfANZoGb4BJkcibqhph+LQORea9XqLd6CwQU9TCXEhkS U4Ox56d2GV/FQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0DD5A678C8; Thu, 4 Sep 2025 07:06:18 -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 aFZTykLXu-H2; Thu, 4 Sep 2025 07:06:17 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756991174; bh=S8amtCiXoV+jt1urOkL+MKVrqlJwfeQ2BZinY+0IbD0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YZYiEwEHZXiwlac+GwoJCeXG273vnwbESB7p0f/+/sMXsw3bduEuxuryayFwqquuR DPn76Uxr1LKC118IaxE4wXx5LIhgwsHwJ0hUz1SlR6ozG1QKs4sAx6AFHV006Ua7Gs LZD4YHOlcHAnl5/ppcl01/+TYfiroUpq5zYLH/rJBLfZh1dpjowyP8uMAKBV5ytata 2cpNVu9UpgHWxrAGZb+xKidNj9R7lNyG46yTDCHAv65Dl+3YGJO2w8eZKET9ihT/FM pL8kP38/o0dEJS2lIIYtTJMkZHfsPN0QbtxXl7oifE87v3IEFLs+nc3/9NkwJ9fLk0 hB8bt5S3RgZYg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 0D331678AB; Thu, 4 Sep 2025 07:06:14 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 4 Sep 2025 07:04:50 -0600 Message-ID: <20250904130459.848794-18-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: WFLYETZH3GGT3MUFURVL565URNCGQ7OV X-Message-ID-Hash: WFLYETZH3GGT3MUFURVL565URNCGQ7OV 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 17/18] ulib: Allow dropping NAND init from the startup sequence 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/WFLYETZH3GGT3MUFURVL565URNCGQ7OV/> 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> This should be handled by driver model now. Some tests rely on this happening early, so just disable it for the shared library. Signed-off-by: Simon Glass <sjg@chromium.org> --- common/board_r.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/common/board_r.c b/common/board_r.c index d60cc7aac70..297fdc29ca9 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -364,6 +364,9 @@ static int initr_flash(void) /* go init the NAND */ static int initr_nand(void) { + if (gd_ulib()) + return 0; + puts("NAND: "); nand_init(); printf("%lu MiB\n", nand_size() / 1024);