add testing function
Merge branch 'master' into u-boot-zynq7000