From: Lukas Auer Date: Sun, 26 Jan 2020 22:04:18 +0000 Subject: [PATCH v2 03/11] riscv: Add headers for asm/global_data.h In-Reply-To: <5203bcac-aea1-ad14-1c8e-e2a699be30b3@gmail.com> References: <3411d84b-5a56-ae4e-1deb-085ef1a4971d@gmail.com> <5203bcac-aea1-ad14-1c8e-e2a699be30b3@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Sean, On Wed, 2020-01-15 at 17:50 -0500, Sean Anderson wrote: > This header depended on bd_t and ulong, but did not include the appropriate > headers. > > Signed-off-by: Sean Anderson > --- > arch/riscv/include/asm/global_data.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/riscv/include/asm/global_data.h b/arch/riscv/include/asm/global_data.h > index b74bd7e738..4f0c12b402 100644 > --- a/arch/riscv/include/asm/global_data.h > +++ b/arch/riscv/include/asm/global_data.h > @@ -11,6 +11,8 @@ > #define __ASM_GBL_DATA_H > > #include > +#include > +#include > asm/u-boot.h is usually included with common.h. ulong is defined in linux/types.h (also included in common.h). It should be sufficient to include common.h in your source files. Thanks, Lukas