Message ID | 20211210064947.73361-9-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp2169419imb; Thu, 9 Dec 2021 22:51:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJztTXJWXjS7jPkwG0NJAj/f46Qd6zqcBPX1i6N3ZKzMp7m+qhCkmslsEr2/XxgsBYs7Zm/M X-Received: by 2002:a17:907:9495:: with SMTP id dm21mr21160605ejc.478.1639119108091; Thu, 09 Dec 2021 22:51:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639119108; cv=none; d=google.com; s=arc-20160816; b=R1DxbHAKOy04giGM0lPaCOOkYa8JI+sCiJZU/TB3gnHOdphaJhZqKCqQJs2Z5ojFA7 ZQXse1OgQWIbzNvVS+Ohz8LlEpOJiVEU8dH/xsAqo86IqGkWEUp0HuHUwjX/6vPLYcEF LpvnI/Db5eqScZlMycd23jU+OaLU1Eu17P+1GwRZTGpceJQdHfIYQ9jQng2QqVuuh7+e PgE7mcoRtyYcccQsvqtifPYrbeJMLJn28Lid8KlR9gepyX8LJzGOu4iBA/cIvfcp0H0F tXlPrGkt4pza6Y4SVjEpruN5lrGxhgpayk2x95CwHZl0SIDlqrF4RQ62cc2C7iNd5ZIf VRLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=F9NEStEGogNVLvNc4mBNKs8gXvObGAndUA6jBNqxsDs=; b=D+OAuebzHRofUhvCM4pUAwzM1HDiMV/GAAsASjaJCje9+vuE2aff40mGUMcqqMu/c/ JAH+Oc4U76St/+7rGIhMqK9n7c15va8P7IXzEuZ9JQ++Zjm4vXb+8+0nLRnotdRGt1e/ SEdCUUsvWNRCmI2Kz5kTFUgfr1NDlL4fLkLh047WbR7vz6ZjQmDhD7//LU5IB+vFLe1q a+T+YA/c5EmOmnd8wRUou3dlCi0euijCHggaR4EjNBGNOpP+02hfDFX7pRV6nlsRmNIE 9kY1NMmdubCDUyGoMUQAzzKstCk4JOMOiUMMyYGP1BtRu8basPS/3D3wQZCloi4cjCtk 3duQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="o/IaTh6V"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id d8si3245637edv.124.2021.12.09.22.51.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 22:51:48 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="o/IaTh6V"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 66EAA83267; Fri, 10 Dec 2021 07:51:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="o/IaTh6V"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7124083230; Fri, 10 Dec 2021 07:50:49 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (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 7F38F82FAB for <u-boot@lists.denx.de>; Fri, 10 Dec 2021 07:50:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pl1-x632.google.com with SMTP id k4so5645282plx.8 for <u-boot@lists.denx.de>; Thu, 09 Dec 2021 22:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F9NEStEGogNVLvNc4mBNKs8gXvObGAndUA6jBNqxsDs=; b=o/IaTh6V0lDY6oTTK8/tg+chTksrYXdGkOpTr5UOl8l8zAsc5uoz8SMhX5kfR30vsV 4YzcWpJcY/JyigrrIR6VP/0vNun/A+ARrzbcSSe/sWLLqfGtW1Un/ZJg5PCmrBfaDosK 5lLeu2qr57wK8y4ToOmwjFwNP7Rwkds70vzPuBblgMRXk4oVkz//7RLbwpgxxkKlVHDm QtyBbe1I17/n0hhmpIiMQLSD8e4oKds6wVDhL37FY+N+aYiTpWeTM1RdZSNCwY5a2/IH C8aS3vD2Rnck/3DxBC45gaTfNOxKH+av5fIdvMVL55CJoNnYy+eiWCqjzhicvsr8st/V h2mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F9NEStEGogNVLvNc4mBNKs8gXvObGAndUA6jBNqxsDs=; b=0ySM8+xiNPvl0KTQxKWkctIY8VGC6gPEtpuLIv9Dwpr3ScfCEN/1LzG3PsLV4cK6CM ziD3JzuQMT3Xo816SXh0CsGKfQAFaQbTBMf+SvtZFXPRd866TtE0espf5FDdHQnMKLFs Pd/4SiBEcMPucPy8NZ6WbwYikiCy42CZy7jREt9Yj0fNTL1vTacFV4E+g3/bkT/suzCH STshltrpdm3txbkIK7kJPKmzx9Fhe1AZLgf6GX+F54889vT+MfrY44tQIyAEJNrmKMUE OwxcZuC7zpatFVnv+TKR3z83hkqySRfdAjbY1tWJsFl0vFjpce2h0G3szlU+3WXx0Spu aGOQ== X-Gm-Message-State: AOAM533es5s0QVpakD51NIHofa82BP/GoDlNUJ0vzfS6auh83gv6Esuq ddlQtyvgrkcYnbdkgu/ybz2prw8XHjez2bbl X-Received: by 2002:a17:90b:2389:: with SMTP id mr9mr21996921pjb.152.1639119041961; Thu, 09 Dec 2021 22:50:41 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:75dd:4e0e:4542:936e]) by smtp.gmail.com with ESMTPSA id nn4sm1639035pjb.38.2021.12.09.22.50.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 22:50:41 -0800 (PST) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: xypron.glpk@gmx.de, agraf@csgraf.de, sjg@chromium.org, ilias.apalodimas@linaro.org Cc: masami.hiramatsu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro <takahiro.akashi@linaro.org> Subject: [RFC v2 08/20] block: ide: call device_probe() after scanning Date: Fri, 10 Dec 2021 15:49:35 +0900 Message-Id: <20211210064947.73361-9-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211210064947.73361-1-takahiro.akashi@linaro.org> References: <20211210064947.73361-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi_loader: more tightly integrate UEFI disks to driver model
|
expand
|
diff --git a/drivers/block/ide.c b/drivers/block/ide.c index c99076c6f45d..8071b5870931 100644 --- a/drivers/block/ide.c +++ b/drivers/block/ide.c @@ -1151,6 +1151,10 @@ static int ide_probe(struct udevice *udev) blksz, size, &blk_dev); if (ret) return ret; + + ret = blk_probe_or_unbind(blk_dev); + if (ret) + return ret; } }