[U-Boot-Users] board/x/flash.c required calls

I have a custom board based on the walnut 405, I have managed to get U-Boot up and running on the board until it tries to setup the Flash, I have code that already works with for the flash (in house bootloader) and I need to know what calls are required in flash.c i.e. flash_init(), is there a document containing this information?
I have also tried to get CFI to detect the flash, but it is unable to determine the flash type (ATMEL AT49BV322A, operating as 4Mx8) , I have a JTAG programmer that successfully reads the CFI data too.
I #defined DEBUG 1 and can see the attempt of CFI to detect the flash, alas no valid data is returned.
Cheers Daren

In message C18BA5DDB58DD511BD0700C0DF0DD45029415E@NTSERVER4 you wrote:
I have a custom board based on the walnut 405, I have managed to get U-Boot up and running on the board until it tries to setup the Flash, I have code that already works with for the flash (in house bootloader) and I need to know what calls are required in flash.c i.e. flash_init(), is there a document containing this information?
Create an empty flash.c file, and try to build your code. The linker will tell you which functions are required.
Alternatively, youc an study the existing code - RTFS!
Best regards,
Wolfgang Denk
participants (2)
-
Daren Hayward
-
Wolfgang Denk