RE: [PATCH RESEND v3] fpga: add inline stub for fpga_load

2023-08-28 Thread Chanho Park
Hi Eugen, > -Original Message- > From: Eugen Hristev > Sent: Monday, August 28, 2023 8:47 PM > To: Michal Simek ; u-boot@lists.denx.de; > s...@chromium.org; Chanho Park > Subject: Re: [PATCH RESEND v3] fpga: add inline stub for fpga_load > > On 8/28/23 13:53, Mi

Re: [PATCH RESEND v3] fpga: add inline stub for fpga_load

2023-08-28 Thread Eugen Hristev
On 8/28/23 13:53, Michal Simek wrote: Hi Eugen, + Chanho, On 8/8/23 12:22, Eugen Hristev wrote: In case CC_OPTIMIZE_FOR_DEBUG is set, unused code will not be optimized out, hence the reference to fpga_load will be compiled. if DM_FPGA and SPL_FPGA are not set, the build will fail with : this

Re: [PATCH RESEND v3] fpga: add inline stub for fpga_load

2023-08-28 Thread Michal Simek
Hi Eugen, + Chanho, On 8/8/23 12:22, Eugen Hristev wrote: In case CC_OPTIMIZE_FOR_DEBUG is set, unused code will not be optimized out, hence the reference to fpga_load will be compiled. if DM_FPGA and SPL_FPGA are not set, the build will fail with : this is not correct. It is not DM_FPGA but o

Re: [PATCH RESEND v3] fpga: add inline stub for fpga_load

2023-08-25 Thread Eugen Hristev
On 8/25/23 10:21, Michal Simek wrote: Hi, On 8/8/23 12:22, Eugen Hristev wrote: In case CC_OPTIMIZE_FOR_DEBUG is set, unused code will not be optimized out, hence the reference to fpga_load will be compiled. if DM_FPGA and SPL_FPGA are not set, the build will fail with : aarch64-none-linux-gn

Re: [PATCH RESEND v3] fpga: add inline stub for fpga_load

2023-08-25 Thread Michal Simek
Hi, On 8/8/23 12:22, Eugen Hristev wrote: In case CC_OPTIMIZE_FOR_DEBUG is set, unused code will not be optimized out, hence the reference to fpga_load will be compiled. if DM_FPGA and SPL_FPGA are not set, the build will fail with : aarch64-none-linux-gnu-ld.bfd: common/spl/spl_fit.o: in funct