Skip to contentSkip to conversation

generic nand_load.S for mx31

U-Boot alfred steele 2 participants 2 messages Apr 5, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

There is a file "cpu/arm1136/mx31/nand_load.S" which performs some startup functions for Copy image from flash to SDRAM etc..It does not reinitialize the DDR though.

Although i haven't dugged up the details yet, could someone tell me what is the difference between nand_boot.c and nand_load.S or the assembly code is just a helper for the nand_boot api's.

Thanks,
Alfred.

#1 lore raw

2009/4/5 alfred steele <[email protected]>:

Quoted 9 lines

Hi,

There is a file ?"cpu/arm1136/mx31/nand_load.S" which performs some startup functions for Copy image from flash to SDRAM ?etc..It does not reinitialize the DDR though.

Although i haven't dugged up the details yet, could someone tell me what is the difference between ?nand_boot.c and nand_load.S or the assembly code is just a helper ?for the nand_boot api's.

I can't find any nand_load.S in my u-boot tree, and my tree is based on U-boot as of 2009-04-02 and the patches I sent yesterday. Which tree and what patches do you have?

/Magnus