]> git.sur5r.net Git - u-boot/commit
imx: mx6: fix reg base address when runtime usage
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 30 Nov 2015 08:04:51 +0000 (16:04 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 7 Dec 2015 14:03:08 +0000 (15:03 +0100)
commit0c890879fe2a5731df7aee3dd38e455008fa9977
tree103d5b6c0018cf4a71f1fc48d33b822d5b80608a
parent0ff47e590bb50978f3cb397e6b04f82702bfe954
imx: mx6: fix reg base address when runtime usage

Should use parenthese to wrap the macro definition, otherwise
we will encounter error like the following:

"
if (base_addr != LCDIF1_BASE_ADDR) {
    puts("Wrong LCD interface!\n");
    return -EINVAL;
}
"

Without this patch, we will always encounter "Wrong LCD interface".

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx6/imx-regs.h