Skip to content
Snippets Groups Projects
Commit 0c890879 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

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: default avatarPeng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
parent 0ff47e59
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment