Dear tiger...@viatech.com.cn,

In message <fe7aded5c2218b4786c09cd97dc4c49f99d...@exchbj02.viatech.com.bj> you 
wrote:
>
> >Yes, that would be the U-Boot way to implement it. It allows you to
> >reusse existing code instead of adding new methods.
> 
> So, is there any example SPL code which contains uncompressed algorithm
> code?

No, none thaty I am aware of.

Note that usually this makes little sense.  Using a compressed U-Boot
image can have two effects:

- saving some memory on the boot device; usually reacent hardware has
  ample resources, so saving 100...200 kB is typically not important
  enough to add such complexity.
- saving time when loading the U-Boot image from the boot device *at
  the cost of adding time needed to uncompress it).  If you ant to
  reduce boot time, it is more efficient to use Falcon mode and skip
  loading U-Boot completely when running in production mode.

So there is actually little motivation to implement such a feature -
but your milage may vary, or you may have specific requrements where
it actually makes sense.

Patches welcome.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
The computer can't tell you the emotional story. It can give you  the
exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to