From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 19 Nov 2009 14:10:36 +0100 Subject: [U-Boot] [PATCH V2 3/3] Add support for the LaCie ED Mini V2 board In-Reply-To: <4B053E8F.7040501@free.fr> References: <1258239796-21528-1-git-send-email-albert.aribaud@free.fr> <200911190851.03443.sr@denx.de> <4B053E8F.7040501@free.fr> Message-ID: <200911191410.36545.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 19 November 2009 13:48:15 Albert ARIBAUD wrote: > > Your board config header would need something like this: > > > > /* Use common CFI driver */ > > #define CONFIG_SYS_FLASH_CFI > > #define CONFIG_FLASH_CFI_DRIVER > > /* board provides its own flash_init code */ > > #define CONFIG_FLASH_CFI_LEGACY 1 > > #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_8BIT > > #define CONFIG_SYS_FLASH_LEGACY_512Kx8 1 > > ... > > > > Taken from include/configs/hcu4.h. This should give you an idea... > > > > Cheers, > > Stefan > > Er... Precisely, I am using [CONFIG_FLASH_CFI_]LEGACY, as the patch > comment says, though obviously not clearly enough. Ahh, sorry I missed this. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de