[v2 10/16] global: Rework architecture global_data.h to include <linux/types.h>

Simon Glass sjg at chromium.org
Sat Dec 16 19:45:53 CET 2023


On Thu, 14 Dec 2023 at 11:18, Tom Rini <trini at konsulko.com> wrote:
>
> In most cases, the architecture global data currently makes use of
> assorted linux types, but does not include <linux/types.h> to provide
> them. Add <linux/types.h> instead of relying on indirect inclusion.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v2:
> - Update include/system-constraints.h and board/cssi/cmpc885/sdram.c
> ---
>  arch/mips/include/asm/global_data.h    | 2 +-
>  arch/nios2/include/asm/global_data.h   | 2 ++
>  arch/powerpc/include/asm/global_data.h | 1 -
>  arch/riscv/include/asm/global_data.h   | 1 +
>  arch/x86/include/asm/global_data.h     | 1 +
>  board/cssi/cmpc885/sdram.c             | 1 +
>  include/system-constants.h             | 2 ++
>  7 files changed, 8 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list