]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:38 +0000 (08:17 +0200)
commitec2f9d064d00b850cd5646423ac79f0dede49d58
tree95f39564a1fc728a9f70f89fe0b549e275449501
parent53b9a450215707c20290b19f47bccb9ce42df254
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