Message ID | 20241113050431.1848951-1-caleb.connolly@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6392:0:b0:381:e71e:8f7b with SMTP id p18csp23311wru; Tue, 12 Nov 2024 21:04:41 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUTZhfP9p7CHOgm/9uuh2s9bT4LuWd+uJ21k3fkT/S8nk/jaPahGgd7VcEMu5/KsxQcULzLAg==@linaro.org X-Google-Smtp-Source: AGHT+IFVfWMBRIp9GmivaWG3bZLkq4DzOS7O0trMESba7OxMz8KCuA9IyDi80qkD//ImENUUHdCq X-Received: by 2002:a05:6402:35d4:b0:5ce:af08:a2cd with SMTP id 4fb4d7f45d1cf-5cf0a446916mr25584358a12.33.1731474281221; Tue, 12 Nov 2024 21:04:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731474281; cv=none; d=google.com; s=arc-20240605; b=CVtj0kt5UHdaq4PZq+82pJ3ScOzzv+SkwJB1CtNwsapfmXqLQ5J2zlRzkEgdK6sm+F gr9sYzt1nnKXT0Kd/iDekggSuqbo/ufy7KnK9NFm6ok4wUZrDSMPPsx6gYLKDVepyOGI AcQ0ojuj466iIE6Xa9FnlXM1o+N7RYu76SbJVspbrR5uh80290pAyV4EuBfgo4EZ7AGD YuGxAUbm1jaeDvFXQEfjMaiJwXClxWrG6uBdYs9toTZ5NKAmAWjLWRxA646j6f+I1I/u JoDd7t4qUOrNJUF9chVGLYqj2vwC94HOqJ2Sxf5fVytl9zvvdiYqatunhCMtrVFF99IW Jleg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=sqNZMVeHJ5Kgup1Ckj/aR3vSdS7qrSWvGZ7apZLs7eE=; fh=AHP79pvGu9MNG/BHzlGNBYxfHw/IuBNBvOaz80oJz40=; b=XakVuXNv6sc5tr2EjDNTRdAMCyglzR4e/gi5jzHnNdnGMmaiog+z1rpR13Zc9ZAy87 e+VDVl8GWvnrv525IM2mRNt7efiTWjQOEnLIZ8Xa7XZ+aAuWh4vlBJya33an8jNkYThr FajQvoajhxWO7IhL3aOSExseeH6vmn5DeCMDCwG2Xs0tLv2eIYDXtkuwWxRsbcGMb8Oq WqPXJN+m2trNkZusPqz1lK7BeFlJ4Tt5Ls94KjPn/A0fThB0LqS2SSrPDytMh3qE3NQ0 x3LbKD2rr+jH6ZJL6bOlAHoljRqMXACc6zIZlXTAQMl7+BxocqertGPbYZvsNmH8XdzR 22yA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vPwWK+oR; 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; dara=neutral header.i=@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 4fb4d7f45d1cf-5cf03c7ca92si9334034a12.283.2024.11.12.21.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 21:04:41 -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=vPwWK+oR; 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; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 631B08952B; Wed, 13 Nov 2024 06:04:40 +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="vPwWK+oR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E5083884D2; Wed, 13 Nov 2024 06:04:38 +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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 F34B88862E for <u-boot@lists.denx.de>; Wed, 13 Nov 2024 06:04:36 +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=caleb.connolly@linaro.org Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-539fb49c64aso9359210e87.0 for <u-boot@lists.denx.de>; Tue, 12 Nov 2024 21:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731474276; x=1732079076; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=sqNZMVeHJ5Kgup1Ckj/aR3vSdS7qrSWvGZ7apZLs7eE=; b=vPwWK+oR2mpNJkzQC+grT/4hkqTMeuIlYc4F9S/cP9MRStn8xC3d78OTe4T7oSwoA8 y5Xicu9Sp/Bf9ZL1jP+SFHZFV5jrqcgbaQpVgLmf/MZFZs/STL4iBf2p4sjutM1ZBQwJ h3WayWQJi8HakDRG4UZTy63olGy+sAhoSw5vgT5bk2N4X1wgvuynYvwKSO68ejt73nd8 uahzDxrTh0Y9wELWNLdh8IsHIK8QTxbdQ6cepi8jJ310FR1DX3qbEo26nXxd2j8mxB3E 2p77uHo+bH27YPKy1sgSmaC52GZp8oBSvy/m3MpqiHgPjqogueclAPkCg/ZDCc4ZIg3T G2YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731474276; x=1732079076; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sqNZMVeHJ5Kgup1Ckj/aR3vSdS7qrSWvGZ7apZLs7eE=; b=dLAnbz19/ZxX9VOX0RwQZjSwEJIaEZ/F4Svm6u4DBh+oBAEM5W2dKaaPGUrVUUgERY 0q8/6FMTK7lumNBX3xvsxCj5d8hZbel5Unr93JoRjdhZYBiE3m4lm6VxHP+GurfrgJ3c s2R53rLhKeVjcmWzDf0qQHiWp6pbimrCP3z4kqVFtCAAxcFp+oB18HfaEspRMFeopY57 bf4Nj+7L8jco8RKW2X4si8p5J+otEZs5K9DUvem4vd8ePdEiCAMDHH04ZyNYIwLDmqun CXTVO20sKB6GQoE3pcUi3z7b1c4L8vfod4IWY/9+2+my2C7/jAaQRXpTS3ttIuQfe0Ia CRGg== X-Forwarded-Encrypted: i=1; AJvYcCVSvw8hyCH5xUGplT+cpmierpA7y6hWaGxi9Q7U9ZWfVH8FaEI4SKY7YBCxwNAdFH4G7WP8u5E=@lists.denx.de X-Gm-Message-State: AOJu0YwkVbkITh+nSlGE67dnqIkderec1ZVqy8s5tyBRwK7an6G4t0li 3i8LPVDoroCqslvA6dRFmEJDR8L2GCgUfC3xbijfIoMXhN8faJD/qE4a7GfuOJA= X-Received: by 2002:a05:6512:3a88:b0:533:483f:9562 with SMTP id 2adb3069b0e04-53d862ee7b7mr13461433e87.42.1731474276170; Tue, 12 Nov 2024 21:04:36 -0800 (PST) Received: from lion.caleb.rex.connolly.tech ([2a02:8109:888d:ff00:ca7f:54ff:fe52:4519]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9ee0a17662sm828002466b.28.2024.11.12.21.04.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 21:04:35 -0800 (PST) From: Caleb Connolly <caleb.connolly@linaro.org> To: Caleb Connolly <caleb.connolly@linaro.org>, Neil Armstrong <neil.armstrong@linaro.org>, Sam Day <me@samcday.com>, Simon Glass <sjg@chromium.org>, Sughosh Ganu <sughosh.ganu@linaro.org>, Sumit Garg <sumit.garg@linaro.org>, Tom Rini <trini@konsulko.com>, Volodymyr Babchuk <Volodymyr_Babchuk@epam.com> Cc: u-boot-qcom@groups.io, Marek Vasut <marex@denx.de>, u-boot@lists.denx.de Subject: [PATCH] mach-snapdragon: configure logging Date: Wed, 13 Nov 2024 06:04:17 +0100 Message-ID: <20241113050431.1848951-1-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.47.0 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.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
mach-snapdragon: configure logging
|
expand
|
diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c index 2ab2ceb51389..bbe9d3de7636 100644 --- a/arch/arm/mach-snapdragon/board.c +++ b/arch/arm/mach-snapdragon/board.c @@ -5,9 +5,11 @@ * Copyright (c) 2024 Linaro Ltd. * Author: Caleb Connolly <caleb.connolly@linaro.org> */ -#include "time.h" +#define LOG_CATEGORY LOGC_BOARD +#define pr_fmt(fmt) "QCOM: " fmt + #include <asm/armv8/mmu.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/psci.h> @@ -28,8 +30,9 @@ #include <malloc.h> #include <fdt_support.h> #include <usb.h> #include <sort.h> +#include <time.h> #include "qcom-priv.h" DECLARE_GLOBAL_DATA_PTR;
Set LOG_CATEGORY and pr_fmt. Also fix the time.h include. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> --- arch/arm/mach-snapdragon/board.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)