[U-Boot] fls definition issue

2009-09-17 Thread Hu Mingkai-B21284
Hi all, I run across an issue when startup the MPC8536DS board by using the latest git tree. The system hanged when initialized the DDR. U-Boot 2009.08-00197-g15fba32 (Sep 17 2009 - 18:15:50) CPU: 8536E, Version: 1.1, (0x803f0091) Core: E500, Version: 3.0, (0x80210030) Clock

Re: [U-Boot] fls definition issue

2009-09-17 Thread Stefan Roese
On Thursday 17 September 2009 13:47:58 Hu Mingkai-B21284 wrote: I traced the code and found the variable law_sz_enc got an error value when call __ilog2_u64 in the function set_ddr_laws. The inline function __ilog2_u64 will call fls inline function finally, but the fls is defined as a