Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 89C7CCDB47E for ; Fri, 13 Oct 2023 20:54:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6E13986ECB; Fri, 13 Oct 2023 22:54:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=kernel-space.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=kernel-space.org header.i=@kernel-space.org header.b="o/RaIKwe"; dkim=pass (1024-bit key) header.d=kernel-space.org header.i=@kernel-space.org header.b="RuvGGu2M"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CEE39869CA; Fri, 13 Oct 2023 22:54:08 +0200 (CEST) Received: from mail.kernel-space.org (mail.kernel-space.org [195.201.34.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E5489869CA for ; Fri, 13 Oct 2023 22:53:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=kernel-space.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angelo@kernel-space.org Received: from kernel-space.org (localhost [127.0.0.1]) by kernel-space.org (OpenSMTPD) with ESMTP id 77c12b74; Fri, 13 Oct 2023 20:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=kernel-space.org; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=s1; bh=D2 r/cSaoRH2Cj+VX2EKZeJ/48uE=; b=o/RaIKweYP+WK6pgU7lkFtVbG5oHLV6tZ9 J3zShTOQX//hOMpfyvvWHSJCkIxec8Uv8zS31I2hous0aneb7tefK4DnoR8L91wz 4Svc1AfVayLJ1WOJIZSH+jv5id/jg8Jz6gcik6a4lIm9TGyS/lPYInMkVLv+Z06l rXmbJkL44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=kernel-space.org; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; q=dns; s=s1; b= MhhLOzLL+k9raM1N4sXuZya3Q1FnSQsrRfFVluR88+jz0av6lFjMmqC9oeanR+n9 S33oipNbw5/GbMl071HnXU9kSBb/9CCteQnZHgbCzN9hZOn51XH1+7+7nB84Q13l LbG2G3OFZ+NkdfxmykCOggducl2JL2+LWvLQap9FtTY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-space.org; s=s1; t=1697230428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=d+C0/koROCN8Q2So6IZwvZXHgVtCkqb9TcD/ZNvOtJM=; b=RuvGGu2MO9NUGRJ8GnZEA5l6KfyAGRz4EWXnmxfPwv1/BGxCBxq6uN6CLJqMyyWOwFvNbr JXZTCEkFLYca6D7pPp8ohWFPe6On5H/PqNvlDiaiyp8bQapRWOg+OphR7l0XfCPpnTAy4Q 4WFliD7bHiDvsuuV+JGelL0NxdJhU2E= Received: from [192.168.0.2] (host-80-116-143-4.pool80116.interbusiness.it [80.116.143.4]) by kernel-space.org (OpenSMTPD) with ESMTPSA id ec93fa3e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 13 Oct 2023 20:53:48 +0000 (UTC) Message-ID: <4e4779f8-ddbc-6469-6c9c-a42751f2c9cc@kernel-space.org> Date: Fri, 13 Oct 2023 22:53:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Betterbird/102.11.0 Subject: Re: [PATCH 4/7] m68k: Remove common.h usage To: Tom Rini , u-boot@lists.denx.de References: <20231012230359.2005249-1-trini@konsulko.com> <20231012230359.2005249-4-trini@konsulko.com> Content-Language: en-US From: Angelo Dureghello In-Reply-To: <20231012230359.2005249-4-trini@konsulko.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi Tom, On 13/10/23 1:03 AM, Tom Rini wrote: > We can remove common.h from most cases of the code here, and only a few > places need an additional header instead. > > Signed-off-by: Tom Rini > --- > Cc: Angelo Dureghello > --- > arch/m68k/cpu/mcf523x/cpu.c | 1 - > arch/m68k/cpu/mcf523x/cpu_init.c | 1 - > arch/m68k/cpu/mcf523x/interrupts.c | 1 - > arch/m68k/cpu/mcf523x/speed.c | 1 - > arch/m68k/cpu/mcf52x2/cpu.c | 1 - > arch/m68k/cpu/mcf52x2/cpu_init.c | 3 +-- > arch/m68k/cpu/mcf52x2/interrupts.c | 1 - > arch/m68k/cpu/mcf52x2/speed.c | 1 - > arch/m68k/cpu/mcf530x/cpu.c | 1 - > arch/m68k/cpu/mcf530x/cpu_init.c | 1 - > arch/m68k/cpu/mcf530x/interrupts.c | 1 - > arch/m68k/cpu/mcf530x/speed.c | 1 - > arch/m68k/cpu/mcf532x/cpu.c | 1 - > arch/m68k/cpu/mcf532x/cpu_init.c | 1 - > arch/m68k/cpu/mcf532x/interrupts.c | 1 - > arch/m68k/cpu/mcf532x/speed.c | 1 - > arch/m68k/cpu/mcf5445x/cpu.c | 1 - > arch/m68k/cpu/mcf5445x/cpu_init.c | 1 - > arch/m68k/cpu/mcf5445x/dspi.c | 1 - > arch/m68k/cpu/mcf5445x/interrupts.c | 1 - > arch/m68k/cpu/mcf5445x/speed.c | 1 - > arch/m68k/cpu/mcf5445x/start.S | 1 - > arch/m68k/include/asm/immap.h | 1 + > arch/m68k/include/asm/immap_520x.h | 1 + > arch/m68k/include/asm/immap_5235.h | 1 + > arch/m68k/include/asm/immap_5272.h | 1 + > arch/m68k/include/asm/immap_5275.h | 1 + > arch/m68k/include/asm/immap_5282.h | 1 + > arch/m68k/include/asm/immap_5301x.h | 1 + > arch/m68k/include/asm/immap_5307.h | 2 ++ > arch/m68k/include/asm/immap_5329.h | 1 + > arch/m68k/include/asm/immap_5441x.h | 1 + > arch/m68k/lib/bdinfo.c | 3 ++- > arch/m68k/lib/bootm.c | 1 - > arch/m68k/lib/cache.c | 2 +- > arch/m68k/lib/fec.c | 2 +- > arch/m68k/lib/interrupts.c | 2 +- > arch/m68k/lib/time.c | 1 - > arch/m68k/lib/traps.c | 1 - > 39 files changed, 17 insertions(+), 30 deletions(-) > building for mcf5307 i get this error In file included from arch/m68k/lib/bootm.c:7: include/bootstage.h:225:1: error: unknown type name 'ulong'; did you mean 'long'? 225 | ulong timer_get_boot_us(void); | ^~~~~ regards, -- Angelo Dureghello w: www.kernel-space.org e: angelo@kernel-space.org