X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fns16550.h;h=4e620676c453c6a4e0df04332befc0a1b34da592;hb=5c27b3b75988f13e313e028dc6849c5c531a5f75;hp=0607379537d7ccf1038a0d322fdf29d95fbc0df4;hpb=2db8c2d61a05bb4a94bb341329c6de811757c111;p=karo-tx-uboot.git diff --git a/include/ns16550.h b/include/ns16550.h index 0607379537..4e620676c4 100644 --- a/include/ns16550.h +++ b/include/ns16550.h @@ -33,7 +33,7 @@ #if !defined(CONFIG_SYS_NS16550_REG_SIZE) || (CONFIG_SYS_NS16550_REG_SIZE == 0) #error "Please define NS16550 registers size." -#elif defined(CONFIG_SYS_NS16550_MEM32) +#elif defined(CONFIG_SYS_NS16550_MEM32) && !defined(CONFIG_DM_SERIAL) #define UART_REG(x) u32 x #elif (CONFIG_SYS_NS16550_REG_SIZE > 0) #define UART_REG(x) \