From patchwork Tue Sep 5 05:51:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 809943 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xmbWR6pxtz9sNq for ; Tue, 5 Sep 2017 15:54:11 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="abKcxy7p"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xmbWR5Z3dzDrVh for ; Tue, 5 Sep 2017 15:54:11 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="abKcxy7p"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::243; helo=mail-pg0-x243.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="abKcxy7p"; dkim-atps=neutral Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xmbVK5G10zDrJl for ; Tue, 5 Sep 2017 15:53:13 +1000 (AEST) Received: by mail-pg0-x243.google.com with SMTP id j6so1384153pgc.4 for ; Mon, 04 Sep 2017 22:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=K6+Qy9IcDeec7aA5vTiq6G7KVVhA7codLurAnU7wq+0=; b=abKcxy7pgXXOUxfaqxjdHtQ3YoMIRX84k1hedyRkIZIGZFoPbOKqUxUy1vyNTUewrJ dU1/nEgjGxwYAFB1A4MdUu4eNZzLuGwPCvoFyQQ6XzM48JBUMqvoPlZxQilgljQ1keQL 5eKwf+SMwnb6kXDNrhb854iyeLPx57YrLLhF6RKpwJqupme5AAi0yJzhBxCW48JpAZfg d6n0oCri7updkfOMRXxlm4OZVmITvXEouTkRnGfyo8muNfpywIBHWNmPyGjze3EpTJEH UCHWW35O1GuZLQj/wnn08IrVsWFq8bHZ+NYVfA0kMUR4zEUHdkgJdTf4dcOuuYq6kGBr dk9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=K6+Qy9IcDeec7aA5vTiq6G7KVVhA7codLurAnU7wq+0=; b=AfiEtZxzKnUQwNoz9pZk5fcrvUDRx860PMtIAz0upCu8gy3Cqc0KB+uWlYWxLSrDP8 VBozrm34GX7xIy/tdO0/7l8KJ9YMcFzj5jjzt51xs6oGFu0M7PRbe3JaYoGMe8TmqPq5 pF/vbcGSDNiOyDd45yTZ1QnUquS5ygKUSiDTe4T9b6aGtKyrlU15NA+g12UilGgWXKFK DyVfYVAYfDSZljV/WCOUycjhEp3HpfOXdibH+BA0S1Pa8t3INJyvPva4W9vAzcB116Ps 3/+63oZV5W8viF8glSzV/f3WzZgygwSgt6FKppcEnx4dq5FfrHcjwS2mSgBRhfq0JfKG tRYA== X-Gm-Message-State: AHPjjUiOgYUqTaVdheENgtfKi9IYaMvWMnuS5SLsGe08mXs6peViyHnr vkeO896KLnljYkucrC4= X-Google-Smtp-Source: ADKCNb4YLZz/RN/njDv3yYHaMAPawjlUp19/OWBNtzGw99niPVPp6TLNCGimqtsEhrHw/zxqSARR/g== X-Received: by 10.99.99.197 with SMTP id x188mr2798407pgb.298.1504590791534; Mon, 04 Sep 2017 22:53:11 -0700 (PDT) Received: from aurora.jms.id.au ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id p13sm13983374pgs.9.2017.09.04.22.53.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Sep 2017 22:53:10 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Tue, 05 Sep 2017 15:53:05 +1000 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Tue, 5 Sep 2017 15:51:45 +1000 Message-Id: <20170905055202.8216-9-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170905055202.8216-1-joel@jms.id.au> References: <20170905055202.8216-1-joel@jms.id.au> Subject: [Skiboot] [PATCH 08/25] hw/chiptod: Fix dt props to include comma before string X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Signed-off-by: Joel Stanley --- hw/chiptod.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/chiptod.c b/hw/chiptod.c index 1713f248d458..1ade6f66b925 100644 --- a/hw/chiptod.c +++ b/hw/chiptod.c @@ -503,8 +503,8 @@ static void chiptod_setup_base_tfmr(void) base_tfmr = SPR_TFMR_TB_ECLIPZ; /* Get CPU and TOD freqs in Hz */ - if (dt_has_node_property(cpu,"ibm,extended-clock-frequency", NULL)) - core_freq = dt_prop_get_u64(cpu,"ibm,extended-clock-frequency"); + if (dt_has_node_property(cpu, "ibm,extended-clock-frequency", NULL)) + core_freq = dt_prop_get_u64(cpu, "ibm,extended-clock-frequency"); else core_freq = dt_prop_get_u32(cpu, "clock-frequency"); tod_freq = 32000000; @@ -1608,11 +1608,11 @@ static bool chiptod_probe(void) if (dt_has_node_property(np, "primary", NULL)) { chiptod_primary = chip; - if (dt_node_is_compatible(np,"ibm,power7-chiptod")) + if (dt_node_is_compatible(np, "ibm,power7-chiptod")) chiptod_type = chiptod_p7; - if (dt_node_is_compatible(np,"ibm,power8-chiptod")) + if (dt_node_is_compatible(np, "ibm,power8-chiptod")) chiptod_type = chiptod_p8; - if (dt_node_is_compatible(np,"ibm,power9-chiptod")) + if (dt_node_is_compatible(np, "ibm,power9-chiptod")) chiptod_type = chiptod_p9; }