]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit554bdece536852bef5461c644f75a45ebd12af5d
treedf6e15690d51a12cdfbf96e736f68e52023cec56
parent1e07bc79588332e89d6461cc4cd626a9c7f0b816
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