[U-Boot] [PATCH 3/6] arm: socfpga: scan: Clean up horrible macros

Dinh Nguyen dinguyen at opensource.altera.com
Fri Aug 7 22:40:18 CEST 2015



On 8/3/15 9:22 AM, Marek Vasut wrote:
> Clean up the horrible macros present in the scan_manager.h . Firstly,
> the function scan_mgr_io_scan_chain_prg() is static, yet all the macros
> are used only within it, thus there is no point in having them in the
> header file. Moreover, the macros are just making the code much less
> readable, so remove them instead.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
>  arch/arm/mach-socfpga/include/mach/scan_manager.h | 42 --------------------
>  arch/arm/mach-socfpga/scan_manager.c              | 47 ++++++++---------------
>  2 files changed, 17 insertions(+), 72 deletions(-)
> 

Acked-by: Dinh Nguyen <dinguyen at opensource.altera.com>

Thanks,
Dinh


More information about the U-Boot mailing list