Re: [U-Boot] [PATCH] imx: mx6: fix reg base address when runtime usage

2015-12-07 Thread Stefano Babic
On 30/11/2015 09:04, Peng Fan wrote: > 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 alway

Re: [U-Boot] [PATCH] imx: mx6: fix reg base address when runtime usage

2015-12-01 Thread Stefano Babic
On 30/11/2015 09:04, Peng Fan wrote: > 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 alway

[U-Boot] [PATCH] imx: mx6: fix reg base address when runtime usage

2015-11-30 Thread Peng Fan
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