include: Add OPENSBI_EXTERNAL_SBI_TYPES in sbi_types.h
authorAbner Chang <abner.chang@hpe.com>
Tue, 7 Jan 2020 07:08:26 +0000 (15:08 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 9 Jan 2020 04:38:11 +0000 (10:08 +0530)
commite340bbf7b5be2fbb79b2358821e77af77257db5e
tree93c8e82db7e01190093070f6f8339a32cd857ddf
parent049ad0b3877352527ab470eba33bc767e9b54961
include: Add OPENSBI_EXTERNAL_SBI_TYPES in sbi_types.h

Add OPENSBI_EXTERNAL_SBI_TYPES macro to allow external definitions of data
types and common macros. Also move some common definitions from sbi_bits.h to sbi_types.h.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_bits.h
include/sbi/sbi_types.h