Message ID | 20190130035935.235565-6-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="jBArASDs"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43q8qc1Pftz9sBQ for <incoming@patchwork.ozlabs.org>; Wed, 30 Jan 2019 15:03:39 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 9EC30C21C57; Wed, 30 Jan 2019 04:01:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 95AE8C21DFF; Wed, 30 Jan 2019 04:00:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3A158C21E1D; Wed, 30 Jan 2019 04:00:19 +0000 (UTC) Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by lists.denx.de (Postfix) with ESMTPS id 537A6C21C4A for <u-boot@lists.denx.de>; Wed, 30 Jan 2019 04:00:15 +0000 (UTC) Received: by mail-qt1-f200.google.com with SMTP id q33so26920643qte.23 for <u-boot@lists.denx.de>; Tue, 29 Jan 2019 20:00:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=quYhBbQTxG08c7A7epp9wi5lUU24K9/I9HsH4KkAx2A=; b=jBArASDs/q6ATd74Mzzkj390Fxifsu1xMgeCLxGoEs5lLmhiCx61HtirEHZxcpRnOy 6Ulb0YR/XBVMXqyIuKAtOuxti5Ktj3n2mTOPjz1tNLHi60aOH86dklllAZbBAPfLdALA 5m1fjXoNtaQC9yJovSB0Hcil5lhg5x80OLWs8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=quYhBbQTxG08c7A7epp9wi5lUU24K9/I9HsH4KkAx2A=; b=gw8GlMvqrSd7M4xkkADvm455R1o1Ykt4vWDf4kAQk3LtlBjRMymg4Zi49CHMr2PrqJ 4XGn7Uwl6Lk5R4SnuG4fecgls48DgMhGWkkhApqeUh8Hno+Auh1S808eW+bYCWIadFag MDJn0MGgR2FjNaDymwzKaBmxmH0c4S0YbCPPXuZZdllIr8yVsdEWJPiWaCa8HT4nPGjI AvJaH4KCssU7NxLh02VqDxe3U3NqNZDxTROr1ip4QTW8GZm/xfE+FNc334rYNkW7xS8h U7Bz97002Oit4HdsA4vNdGklXqjlbvG+zQELciYlioInG+Zy2regHCd+lPS0Tzbn24CQ ghqA== X-Gm-Message-State: AJcUukf0A9eZes/Lx47hn4S6JVaJgcc+WlkC+5gfLfxQrSq5BcSXpQgx NQ+FGyzXNJXJ3ILNKUHhlBrhd0HE/Ly7XUvf X-Google-Smtp-Source: AHgI3IYLa3casHI65ZmHzqriZ17eSuQm6beZPnQg1szv0YwW9rVgKodoMV7a+6qHNRVVG8+zw5HO9vESnMrqaH1Y X-Received: by 2002:ac8:4046:: with SMTP id j6mr5144954qtl.29.1548820814059; Tue, 29 Jan 2019 20:00:14 -0800 (PST) Date: Tue, 29 Jan 2019 20:59:00 -0700 In-Reply-To: <20190130035935.235565-1-sjg@chromium.org> Message-Id: <20190130035935.235565-6-sjg@chromium.org> Mime-Version: 1.0 References: <20190130035935.235565-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.1.495.gaa96b0ce6b-goog From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Subject: [U-Boot] [PATCH 05/40] cros_ec: Use a hyphen in the uclass name X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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: <http://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> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
x86: Add support for booting from TPL
|
expand
|
Hi Simon, On Wed, Jan 30, 2019 at 12:00 PM Simon Glass <sjg@chromium.org> wrote: > > Device-tree rules require that aliases use a hyphen rather than a > underscore. Update the uclass name to fit with this. > I don't understand the connection between the uclass name and the DT aliases. Could you please provide more details? > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > Regards, Bin
diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 565de040fe..382f826286 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -1482,7 +1482,7 @@ int cros_ec_set_lid_shutdown_mask(struct udevice *dev, int enable) UCLASS_DRIVER(cros_ec) = { .id = UCLASS_CROS_EC, - .name = "cros_ec", + .name = "cros-ec", .per_device_auto_alloc_size = sizeof(struct cros_ec_dev), .post_bind = dm_scan_fdt_dev, .flags = DM_UC_FLAG_ALLOC_PRIV_DMA,
Device-tree rules require that aliases use a hyphen rather than a underscore. Update the uclass name to fit with this. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/misc/cros_ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)