diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-11-30 16:04:51 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-12-07 15:03:08 +0100 |
commit | 0c890879fe2a5731df7aee3dd38e455008fa9977 (patch) | |
tree | 103d5b6c0018cf4a71f1fc48d33b822d5b80608a /arch/nios2 | |
parent | 0ff47e590bb50978f3cb397e6b04f82702bfe954 (diff) | |
download | u-boot-imx-0c890879fe2a5731df7aee3dd38e455008fa9977.zip u-boot-imx-0c890879fe2a5731df7aee3dd38e455008fa9977.tar.gz u-boot-imx-0c890879fe2a5731df7aee3dd38e455008fa9977.tar.bz2 |
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>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions