U-boot doubts
Hi,
why do we have two files(env_nand.c and env_flash.c) to manipulate
environmental variables?
According to my knowledge nand is also a flash type then why we have
separate file called env_flash.c or is this file will be used for nor flash?
chandru
Dear Chandra Sekar,
Quoted 3 lines · In message <[email protected]> you…
why do we have two
files(env_nand.c and env_flash.c)to manipulate
environmental variables?
Because NAND flahrequires diofferent handling than NOR flash.
Note there is also common/env_dataflash.c, common/env_eeprom.c, common/env_mgdisk.c, common/env_nowhere.c, common/env_nvram.c, common/env_onenand.c, and common/env_sf.c
Quoted 2 lines
According to my knowledge nand is also a flash type then why we have
separate file calledenv_flash.cor is this file will be used for nor flash?
NOR flash is a memory device which is byte-addressable by the processor. NAND flash is no memory, but a storage device instead, which needs to be read in buffers into RAM before you can access arbitrary bytes of it's content.
Best regards,
Wolfgang Denk
Signature · 7 lines
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: wd at denx.de Carelessly planned projects take three times longer to complete than expected. Carefully planned projects take four times longer to complete than expected, mostly because the planners expect their planning to reduce the time it takes.