Dear Heiko Schocher, In message <4b5feb9e.3040...@denx.de> you wrote: > [PATCH 1/2] cramfs: make cramfs usable without a NOR flash
I'm afraid I still don't understand how this is supposed to work. Where would you store the cramfs on a system "without a NOR flash"? Are we talking about - say - a NAND storage device then? > @@ -119,7 +121,11 @@ int do_cramfs_load(cmd_tbl_t *cmdtp, int flag, int argc, > char *argv[]) > dev.id = &id; > part.dev = &dev; > /* fake the address offset */ > +#if !defined(CONFIG_SYS_NO_FLASH) > part.offset = addr - flash_info[id.num].start[0]; > +#else > + part.offset = addr; > +#endif I understand that we now can have the cramfs image either in NOR flash _or_ in NAND. What about systems that have both NOR _and_ NAND? 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 first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot