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

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...

i came through this code and didn't understand the difference between port width and chip width.
ok got it,
port_width = n * chip_width n = number of flash parts.
_________________________________________________________________ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072...
participants (1)
-
k b