Hi Albert, On Wednesday 18 November 2009 23:21:58 Wolfgang Denk wrote: > > This board is based on the Marvell Orion5x SoC. > > Current support is limited to console and Flash. > > Flash support uses LEGACY as the Macronix 29LV400 > > used on ED Mini V2 is not 100% CFI compliant. > > And the differences are really so big that we cannot tweak the CFI > driver?
It's not CFI compliant. But you can use the legacy infrastructure in this driver, which meant to support such chips. Please take a look at the following driver: drivers/mtd/jedec_flash.c 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 -- 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: off...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot