[PATCH 02/49] compiler: Add a comment to host_build()

Rasmus Villemoes rasmus.villemoes at prevas.dk
Tue May 4 09:01:21 CEST 2021


On 04/05/2021 01.10, Simon Glass wrote:
> This function should have a comment explaining what it does. Add one.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> (no changes since v1)
> 
>  include/compiler.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/include/compiler.h b/include/compiler.h
> index 27b9843497a..ec0d600e71a 100644
> --- a/include/compiler.h
> +++ b/include/compiler.h
> @@ -151,6 +151,11 @@ typedef unsigned long int uintptr_t;
>  #define MEM_SUPPORT_64BIT_DATA	0
>  #endif
>  
> +/**
> + * host_build() - check if we are building for the host
> + *
> + * @return true if building for the hose, false if for a target

spello, hose->host



More information about the U-Boot mailing list