Message ID | 20220425053127.19950-9-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 9bd2f62d12a53370822f0514ccc32e45209abc50 |
Delegated to: | Tom Rini |
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: bilbo.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=TpKjgnwX; dkim-atps=neutral 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>) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kmtvl5s1lz9s0r for <incoming@patchwork.ozlabs.org>; Mon, 25 Apr 2022 15:33:07 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1FD5883E97; Mon, 25 Apr 2022 07:32:42 +0200 (CEST) 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="TpKjgnwX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E54F83E70; Mon, 25 Apr 2022 07:32:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (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 3329B83E3A for <u-boot@lists.denx.de>; Mon, 25 Apr 2022 07:32:14 +0200 (CEST) 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-ej1-x631.google.com with SMTP id y3so7051372ejo.12 for <u-boot@lists.denx.de>; Sun, 24 Apr 2022 22:32:14 -0700 (PDT) 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=/X4cOuvyFFKK5d+Hy9zctXUkkoR4QV6EeULGuLB0MlE=; b=TpKjgnwXZ2zKwYiFAUFpbKQ2SuUerTC0knvsa5J+nGzTI2Hy7e9VKK0ulQRLw/a9pp koYB/dTjQ1eX3E8MPJFMTb/TggF6++YXRYsn8/rLWVx4p8X0M09lISZzqPWtn0KE5UOh OEl3krIMgpJZYAU673zLsMsodyC1ku7K1Enkk= 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=/X4cOuvyFFKK5d+Hy9zctXUkkoR4QV6EeULGuLB0MlE=; b=kHEIdqnziOMgYrNRfHgWrP74djl12TmXWQL8FeJxK0e0rRmioIUp1D6oCdZjyjOUOS pNjPqkc4KnAvGy+DWxbfXYYTbmgeoZXBikXf1wEoqrujbb9gOx+KoYAfyIA45Q6IHIPV zlyMJjYv983s1gMim0GHZ5CILhMU8lhCZiSutm2sn5VEMqPV4vuoVlajMXhcxozaB7IB v61Tz6n8YXalXaUs19Yvz8gJac22XO51cjONAzK3cZlKsJNoUZkoDJDdhXvo7NwboOgH 5R34KrLOwk6Uqbukbl/g8EoO/hDeJpd8BwrWHOp9TGrl557H/fFWFuf2YgEw/ILvFqZt 4JDg== X-Gm-Message-State: AOAM5308iduxLehT8KdhlmNAGXk4ru/MERgV+nqVmUC9kuF+RB/RsI6y jbeCb0io43PBOpix2o/LnnC+1IsXnrMvXI7K X-Google-Smtp-Source: ABdhPJxDlGchox6o9Ed6bcNNj/DxOpWZe+QzdGSSu8IeJG1hKW8kfXbewmseCrbTjNED1iouHdhkNg== X-Received: by 2002:a17:907:7d93:b0:6da:8f57:68fa with SMTP id oz19-20020a1709077d9300b006da8f5768famr15167879ejc.42.1650864733491; Sun, 24 Apr 2022 22:32:13 -0700 (PDT) Received: from sjg1.c.hospitality.swisscom.com (d54c768e3.static.telenet.be. [84.199.104.227]) by smtp.gmail.com with ESMTPSA id s12-20020a1709062ecc00b006e8558c9a5csm3230784eji.94.2022.04.24.22.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 22:32:13 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Dennis Gilmore <dennis@ausil.us>, Lukas Auer <lukas.auer@aisec.fraunhofer.de>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Tom Rini <trini@konsulko.com>, Michal Simek <michal.simek@xilinx.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Steffen Jaeckel <jaeckel-floss@eyet-services.de>, Simon Glass <sjg@chromium.org> Subject: [PATCH v5 08/34] test: fastboot: Avoid using mmc1 Date: Sun, 24 Apr 2022 23:31:01 -0600 Message-Id: <20220425053127.19950-9-sjg@chromium.org> X-Mailer: git-send-email 2.36.0.rc2.479.g8af0fa9b8e-goog In-Reply-To: <20220425053127.19950-1-sjg@chromium.org> References: <20220425053127.19950-1-sjg@chromium.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 |
Initial implementation of standard boot
|
expand
|
diff --git a/test/dm/fastboot.c b/test/dm/fastboot.c index e7f8c362b85..758538d0e85 100644 --- a/test/dm/fastboot.c +++ b/test/dm/fastboot.c @@ -81,9 +81,9 @@ static int dm_test_fastboot_mmc_part(struct unit_test_state *uts) &part_info, response)); ut_asserteq(0, fastboot_mmc_get_part_info("0.0:0", &fb_dev_desc, &part_info, response)); - ut_asserteq(0, fastboot_mmc_get_part_info("1", &fb_dev_desc, + ut_asserteq(0, fastboot_mmc_get_part_info("2", &fb_dev_desc, &part_info, response)); - ut_asserteq(0, fastboot_mmc_get_part_info("1.0", &fb_dev_desc, + ut_asserteq(0, fastboot_mmc_get_part_info("2.0", &fb_dev_desc, &part_info, response)); ut_asserteq(1, fastboot_mmc_get_part_info(":1", &fb_dev_desc, &part_info, response));
The bootflow tests need to use an MMC with an associated backing file containing a filesystem. Update the fastboot tests to cope with this. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) test/dm/fastboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)