asm-generic/u-boot.h: make <asm-generic/u-boot.h> self-contained

This header uses 'phys_addr_t' and 'ulong'. Include the definitions.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
[trini: Move include to below __ASSEMBLY__ test]
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Masahiro Yamada 2020-02-25 02:24:17 +09:00 committed by Tom Rini
parent b36992fb6b
commit 4ca281a56c

View file

@ -23,6 +23,8 @@
#ifndef __ASSEMBLY__
#include <linux/types.h>
typedef struct bd_info {
unsigned long bi_memstart; /* start of DRAM memory */
phys_size_t bi_memsize; /* size of DRAM memory in bytes */