]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: socfpga: scan: Clean up horrible macros
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 01:18:50 +0000 (03:18 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:30 +0000 (14:14 +0200)
commit62a0c9cff3a8f842bec7d9a52e113ca67371f138
tree75ee6222f44e3c74c1cc9ae1c6173517b529fda3
parent66acc190e938d4be5fb4895be018c9edcdc828fe
arm: socfpga: scan: Clean up horrible macros

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@denx.de>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/mach-socfpga/include/mach/scan_manager.h
arch/arm/mach-socfpga/scan_manager.c