Re: [U-Boot] [PATCH 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-14 Thread Igor Opaniuk
Hi Peng, Seems this is a glitch, I was working with the local forked tree (a copy of the latest U-boot mainline master) + manually applied patch series for Toradex Colibri iMX8QXP [1]/Apalis iMX8QM [2] support on top of it (that are still pending in the U-boot ML), but seems that some of your

Re: [U-Boot] [PATCH 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-13 Thread Peng Fan
Hi Igor, Not found your original mail, so reply Stefan's mail here. > -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: 2019年5月13日 21:56 > To: Igor Opaniuk > Cc: u-boot@lists.denx.de; feste...@gmail.com; dl-uboot-imx > ; albert.u.b...@aribaud.net; Peng Fan > ;

Re: [U-Boot] [PATCH 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-13 Thread Stefan Agner
Hi Igor, On 13.05.2019 12:46, Igor Opaniuk wrote: > cpu_imx_get_temp() definition is wrapped with a ifdef macro, > therefore all function references should be also wrapped the same way > instead IS_ENABLED() usage. > > Fix warning: > arch/arm/mach-imx/imx8/cpu.c: In function ‘cpu_imx_get_desc’:

[U-Boot] [PATCH 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-13 Thread Igor Opaniuk
cpu_imx_get_temp() definition is wrapped with a ifdef macro, therefore all function references should be also wrapped the same way instead IS_ENABLED() usage. Fix warning: arch/arm/mach-imx/imx8/cpu.c: In function ‘cpu_imx_get_desc’: arch/arm/mach-imx/imx8/cpu.c:612:40: warning: implicit