[U-Boot] [PATCH 1/2] blackfin: fix a warning in arch/blackfin/cpu/initcode.c

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Oct 22 12:13:47 CEST 2013


Hello, Sonic.


> The variable uart_base is used in macro pUART in function serial_init().
> 
> 
> #define pUART ((volatile struct bfin_mmr_serial *)uart_base)

This macro is weird.
It expects the variable name 'uart_base'.
I think it's better not to use it.

Best Regards
Masahiro Yamada



More information about the U-Boot mailing list