Message ID | 20220202010853.40405-7-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1191537imr; Tue, 1 Feb 2022 17:10:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4ZClzzJ7expcdwHuarfGfk/y52K3fzMGcLzrq7Az5aHa7zIhWSPwk3Sscb9XPRox/nqnX X-Received: by 2002:a17:906:489b:: with SMTP id v27mr16814549ejq.120.1643764254104; Tue, 01 Feb 2022 17:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643764254; cv=none; d=google.com; s=arc-20160816; b=SEEVrZyCzyo4IIV7hoktx8Bdi6B/1YVgl7yRpsWd9NxLr0qnJUDMcOjbsr/CkejVHm G6SAUFWEsyAFaCDgIC5C+yUcGUV/+oi8xZlJsnwKX+dfQ2XTKmSLSgxbAbvDUmYX69c8 mGCcl4nm043i0LfQcxSq/GXwRRSqqTqik4gZBCNVeDn8GHy66FNf2AjweGhCI2Bm0UYI tO/dfpQzVcV3ZfQp3uyh5Qdz5yq0e+Sjeu1KcObH1xkIg6c1RWkFPt1Q2dfgGxL45T5K Y0HNPg5mEO5EOYndmzgUuNBs+XzN31WQj/u2VbSCmOaZaU3+8ZcR08uIiY5UCfSVrCOk 4CWw== 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=XX0iEQ4dt4saQZhqaVxrcJum90hF8rJcNwW2ChZ7JxE=; b=MABPoj8ju7a/7zWSLSZHSsZgKCyk81+Zd4ByQU9vqo/Lsh2bgDTWQOQeig4E653m0w +tSHAU5NY1RWM0LN2496nlIEmQkq9xR3NwkKswO11JDUlC9AGnUpQPGoa1l+zijwYc0f +iVYW3fSBKnoWb1H8B3qTEOiud9PUUkNBRTs7S8fWvtOEykXJY978XUrMIqtG5IYdrad q3vsxWJeU1e6DijwRc3tDnBwRkhA6rt2Np4749h7FzfW55VCYSjVh0zTkrPnk5rTksTs 7UbugtNTHEe1BjdyFscnFlNnAKgDYWWIxV2DKiZEUjGAoouq9AtqjDE+28pHnqcONvby KS0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PKc9sYRG; 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 20si10124484ejj.384.2022.02.01.17.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 17:10:54 -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=PKc9sYRG; 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 7CDCC838A8; Wed, 2 Feb 2022 02:09:58 +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="PKc9sYRG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3966883874; Wed, 2 Feb 2022 02:09:57 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 9E955838A4 for <u-boot@lists.denx.de>; Wed, 2 Feb 2022 02:09:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pj1-x1033.google.com with SMTP id s2-20020a17090ad48200b001b501977b23so5203436pju.2 for <u-boot@lists.denx.de>; Tue, 01 Feb 2022 17:09:50 -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=XX0iEQ4dt4saQZhqaVxrcJum90hF8rJcNwW2ChZ7JxE=; b=PKc9sYRGhH32bgX9hZO4n4zBgKwmgRFY7UK5JVkYc6ynvc8CHeTj2XRKO4E1fGm2BP QeEYGQwCA6LxaCMbJdNIngkKU5R9CbATNLa3P/DaRfe4w7mt3Bpzl5Ik1mmfOh+A+Zwz sk7LqJR7wYJQ133qMUcyhU/Ukly0dN6ycgAz+q8nlWWhFh0cvhg1XkAxzHtSimJu7bKi 3EVOSC6lhfOD3GCakp0D+hMPjS6xRevLo4eDeWR/5Vnb+6/e0m9hKXzzIGaFgqtsvs+J mLUl4IB71802AGuI3/cboDfYIakYJmBGMF0XIVtXHOjaQdgle8dNoF35gw7TaKZgvHBf Oljw== 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=XX0iEQ4dt4saQZhqaVxrcJum90hF8rJcNwW2ChZ7JxE=; b=3XuCsrbEDQWv6vntbuF5Wy7gkpyuoxR1pFfhqYqwe/G/MLo8W8nXJiwc1pEALCK8vh HwWm5vu1mHnkq1twMKJ5ImaOGsmA2PnWcqSC3j/Z6ZjWZVpwvZi90OayzqcqffbIptRz kwLEGkFNjBI8xwq+/1dIbBhbeosucSepxrf9V8l+y0/jieH6st77n/2XZ/TB9P06Tebn 5dUYcl6wTPEeuArgdvW0YocWauiwLKs5GmOTUA2xZhyn+c9VyxdHbYp0EOGS2w4pbdi+ mmKV6uvZY4ppXplc43FHdX26jPN+0ucQIjAshYF8+Ah7QCfx5vaAZaWqFZwoCvEIg2gD tbag== X-Gm-Message-State: AOAM532DutxB1E/rjdq1ovBGFCjhJHyTfodfW+b533VsBfBLB0fUywHr Sq9qXeY5bwKNGWHp/l0QZ1qP0Q== X-Received: by 2002:a17:902:8344:: with SMTP id z4mr28860264pln.12.1643764189062; Tue, 01 Feb 2022 17:09:49 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:314e:b83b:fa90:7f2e]) by smtp.gmail.com with ESMTPSA id f5sm10761429pfc.0.2022.02.01.17.09.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 17:09:48 -0800 (PST) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: lukma@denx.de, peng.fan@nxp.com, jh80.chung@samsung.com, bmeng.cn@gmail.com, peng.ma@nxp.com, sr@denx.de, xypron.glpk@gmx.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: [PATCH 06/19] block: ide: call device_probe() after scanning Date: Wed, 2 Feb 2022 10:08:40 +0900 Message-Id: <20220202010853.40405-7-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220202010853.40405-1-takahiro.akashi@linaro.org> References: <20220202010853.40405-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.39 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.5 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 085aa356feef..a96df4f0a3c7 100644 --- a/drivers/block/ide.c +++ b/drivers/block/ide.c @@ -1145,6 +1145,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; } }