imx6: Add src_base structure define macro
authorJagan Teki <jagan@openedev.com>
Fri, 24 Feb 2017 10:15:15 +0000 (15:45 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commit7b54f5a8bf13f64a019b0dd108c80c44023c98c8
treedf6e15690d51a12cdfbf96e736f68e52023cec56
parent96aac843b68dfa900ede4eec224b2f7060812b45
imx6: Add src_base structure define macro

Instead of initializing 'struct src' to SRC_BASE_ADDR on
every function better to have global define macro.

Reviewed by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jagan Teki <jagan@openedev.com>
arch/arm/imx-common/init.c
arch/arm/imx-common/spl.c
arch/arm/include/asm/arch-mx6/imx-regs.h
arch/arm/include/asm/imx-common/sys_proto.h