[U-Boot] Powerpc(U-Boot/board/amcc/ocotea/flash.c) file couldn't under stand

pc.ramachandra pc.ramachandra at gmail.com
Fri Jul 22 07:29:12 CEST 2016


Hai Everyone,

I am using Powerpc 440GX and u-boot 2014.04 actually i am not understanding
the flash configurations actually in my flash total 4 banks and NOR Flash I
am using 
Bank1   8MB      8x8 KByte/4 KWord and 15x64KB/32 KWord
Bank2   24MB    48x64KByte/32 KWord
Bank3   24MB    48x64KByte/32 KWord
Bank4   8MB      8x8 KByte/4 KWord and 15x64KB/32 KWord  
Those are my Flash Configurations and in my project address is Starts
Bank1   FC00 0000        to       FC7F FFFF    (8Mb)
Bank2   FC80 0000        to       FDFF FFFF    (24Mb)  
Bank3   FE00 0000        to       FF7F FFFF    (24Mb)
Bank4   FF80 0000        to       FFFF FFFF    (8Mb)

In project i can use below type or not give me some suggestions 
static unsigned long flash_addr_table[8][CONFIG_SYS_MAX_FLASH_BANKS] = {
	{FC00 0000, 0xFC80 0000, 0xFE00 0000,  0xFF800000},	/* 0:000: configuraton
4 */
	/* 1:001: configuraton 3 */
	/* 2:010: configuraton 8 */
	/* 3:011: configuraton 7 */
	/* 4:100: configuraton 2 */
	/* 5:101: configuraton 1 */
	/* 6:110: configuraton 6 */
	/* 7:111: configuraton 5 */
};
Why above used different configurations could you give some suggestions



--
View this message in context: http://u-boot.10912.n7.nabble.com/Powerpc-U-Boot-board-amcc-ocotea-flash-c-file-couldn-t-under-stand-tp261753.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list