Message ID | 20201219174018.1114146-2-sjg@chromium.org |
---|---|
State | Accepted |
Commit | b0603335673e20a075fc1d401bcdb316828e1a6f |
Delegated to: | Simon Glass |
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: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: 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=NfenPCjI; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 ozlabs.org (Postfix) with ESMTPS id 4CytMJ1DKpz9sVm for <incoming@patchwork.ozlabs.org>; Sun, 20 Dec 2020 04:41:32 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF53782884; Sat, 19 Dec 2020 18:40:53 +0100 (CET) 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="NfenPCjI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B2DB582858; Sat, 19 Dec 2020 18:40:40 +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.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 25B4B82816 for <u-boot@lists.denx.de>; Sat, 19 Dec 2020 18:40:35 +0100 (CET) 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-io1-xd34.google.com with SMTP id w18so5153305iot.0 for <u-boot@lists.denx.de>; Sat, 19 Dec 2020 09:40:35 -0800 (PST) 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=ySnsdH10Ovz7Rf34RuDXqh6E9fRqj8QrtP6xjit++Pk=; b=NfenPCjIeriI2hLMLMKuy+Hn3mog/q+si6mbtAG6UFh9elpkZQghkRsVGMsZWCF5uR wdyjjJ6QoxR6D60kWw8MjTpvNp4Qb3EV18oLXjqcxfj1WgveYZDAa5e5AcPO97UeA5rH VfthYqcq6WcdCIRzepGH0uMJAcbYtvLddNNgE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ySnsdH10Ovz7Rf34RuDXqh6E9fRqj8QrtP6xjit++Pk=; b=JWtebtRm469GSF/51N5OSUCohusoXt2ihNw2MngBuUa0PWvRdQrp4eAsqfE6YkKwGN ZO8cCteV7boQERcpt4N1uOcXRDhJ0B+x6HHrs4KGqfpld6nm3v9HDyT9v1DUDiar1xO8 yogCGVhW5Q7uDIjPQdjtcpqqZPG4w5UBtwAJyLTCmbP+aBOP+tfAO6AVLv4eKHFinJwS YGWjua/mswUnxRystgZEnNn++6ByivXhpW4P6aTKxziQxI4Pq/tLIVu5i0qMbJEY5bYe mU9Iv/jdpwtmDJnzpqTqWRGvgXqBGfsyWwwAR6vFwjVIu4XC7InL9RXeHgtSARyW1L6m 9KXw== X-Gm-Message-State: AOAM5325z7wpA/moL5aPCEboNg4APz+fUyjlB09oWVeLrXGogZpWKabW 91WFnLgogGN2XBCUTWQDpYE105hpAmLrBiEQ X-Google-Smtp-Source: ABdhPJxZz9SZc9BwYt+I7yt6CUXTtFTBfJ4tLYUiP7HoY4Zlsn8oL4z506JiQjFZSSlzNuJyjPe9nQ== X-Received: by 2002:a5d:9641:: with SMTP id d1mr8832975ios.123.1608399633747; Sat, 19 Dec 2020 09:40:33 -0800 (PST) Received: from localhost.localdomain (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id n10sm9781962ila.69.2020.12.19.09.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Dec 2020 09:40:33 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Simon Glass <sjg@chromium.org> Subject: [PATCH 03/26] sandbox: Add a compatible string for spltest Date: Sat, 19 Dec 2020 10:39:55 -0700 Message-Id: <20201219174018.1114146-2-sjg@chromium.org> X-Mailer: git-send-email 2.29.2.684.gfbc64c5ab5-goog In-Reply-To: <20201219174018.1114146-1-sjg@chromium.org> References: <20201219174018.1114146-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
dm: Preparation for enhanced of-platdata (part C)
|
expand
|
At present this driver does not have a compatible string. For it to be
used with the coming of-platadata, it must have one. Update it
accordingly.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
drivers/misc/spltest_sandbox.c | 6 ++++++
1 file changed, 6 insertions(+)
Applied to u-boot-dm/next, thanks!
diff --git a/drivers/misc/spltest_sandbox.c b/drivers/misc/spltest_sandbox.c index 3ae6707593e..6b9701a06ae 100644 --- a/drivers/misc/spltest_sandbox.c +++ b/drivers/misc/spltest_sandbox.c @@ -8,8 +8,14 @@ #include <dm.h> #include <dt-structs.h> +static const struct udevice_id sandbox_spl_ids[] = { + { .compatible = "sandbox,spl-test", }, + {} /* sentinel */ +}; + U_BOOT_DRIVER(sandbox_spl_test) = { .name = "sandbox_spl_test", .id = UCLASS_MISC, + .of_match = sandbox_spl_ids, .flags = DM_FLAG_PRE_RELOC, };
At present this driver does not have a compatible string. For it to be used with the coming of-platadata, it must have one. Update it accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/misc/spltest_sandbox.c | 6 ++++++ 1 file changed, 6 insertions(+)