[U-Boot-Users] Flash, Port Width & Chip width

k b k_bisla at hotmail.com
Sat Jul 26 00:14:25 CEST 2008


Hi,
I'm using a 2 spansion 1Gb flash part 128k sector each, so 256k sector size. in x16, so they form whole 32 bit word.

i came through this code and didn't understand the difference between port width and chip width.
Can some one explain.

here's what i specifically referring to from include/flash.h

/*
 * Values for the width of the port
 */
#define FLASH_CFI_8BIT		0x01
#define FLASH_CFI_16BIT		0x02
#define FLASH_CFI_32BIT		0x04
#define FLASH_CFI_64BIT		0x08

/*
 * Values for the width of the chip
 */
#define FLASH_CFI_BY8		0x01
#define FLASH_CFI_BY16		0x02
#define FLASH_CFI_BY32		0x04
#define FLASH_CFI_BY64		0x08

_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008



More information about the U-Boot mailing list