[U-Boot] [PATCH v2 2/9] make the hwconfig buffer deeper
Kumar Gala
galak at kernel.crashing.org
Sat Jan 8 00:23:44 CET 2011
On Jan 7, 2011, at 11:52 AM, Wolfgang Denk wrote:
> Dear York Sun,
>
> In message <1294418957.8466.8.camel at oslab-l1> you wrote:
>>
>> fsl_ddr:ctlr_intlv=cacheline,bank_intlv=cs0_cs1_cs2_cs3,ecc=off,addr_hash=false
>>
>> With the buffer size 128, the sub function gets
>> "ctlr_intlv=cacheline,bank_intlv=cs0_". It is not because the buffer is
>> not enough, but the stack has been trashed. I have debug log if you need
>> it.
>
> This is yet another problem, then.
So I figured the problem out and need to rework the hwconfig API to fix it.
We need some new versions of the APIs that take a buffer for use early before boot.
- k
More information about the U-Boot
mailing list