commit | f0d3fbf166e1f64a3cebaf155d906c0086ef69fb | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Mon Nov 30 16:04:51 2015 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Mon Dec 07 15:03:08 2015 +0100 |
tree | 103d5b6c0018cf4a71f1fc48d33b822d5b80608a | |
parent | b1a4ac67434baa6bd73465131807d2375b391e3b [diff] |
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>