From: Stefan Roese Date: Sat, 4 Dec 2004 14:07:31 +0100 Subject: [U-Boot-Users] flash question In-Reply-To: References: Message-ID: <200412041407.32014.mail@stefan-roese.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jack, On Saturday 04 December 2004 13:51, jack W wrote: > i am a newer i have a question about flash , i have a nor flash and > its type is SST39VF160 . I don't know how to set the CFG_MAX_FLASH_SECT. > the flash's sector is 2k .and i think that the CFG_MAX_FLASH_SECT is > 4096/2=2148 right? No! You have to configure the maxmium sector count with this define (and _not_ the sector-size!). Most of the time I set this to 256. This should sufficient for most flash's. Best regards, Stefan