[PATCH] mach-snapdragon: configure logging
Neil Armstrong
neil.armstrong at linaro.org
Thu Nov 14 12:05:05 CET 2024
On 13/11/2024 06:04, Caleb Connolly wrote:
> Set LOG_CATEGORY and pr_fmt. Also fix the time.h include.
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
> arch/arm/mach-snapdragon/board.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> 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 at 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;
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
More information about the U-Boot
mailing list