From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hurricane555 Date: Fri, 7 Apr 2006 04:27:18 -0700 (PDT) Subject: [U-Boot-Users] AMD 29LV160DB wrong ID In-Reply-To: <3721580.post@talk.nabble.com> References: <3721580.post@talk.nabble.com> Message-ID: <3801893.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I?m a litte bit confused! I want to use the CFI_flash.c for my Flash, but I don?t know, what I do wrong!? At the moment I wrote this into my board.h: #define CFG_FLASH_CFI_AMD_RESET #define CONFIG_AMD_AM160LV #define PHYS_FLASH_SIZE 0x00200000 /* 2 MB */ #define CFG_MAX_FLASH_SECT (35) /* max number of sectors on one chip */ #define CFG_MAX_FLASH_BANKS 1 /* Max # of flash banks */ #define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x0F0000) /* addr of environment*/ #undef CFG_FLASH_CHECKSUM #define CFG_FLASH_ERASE_TOUT 1024000 /* Flash Erase Timeout (ms) */ #define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */ #define CFG_FLASH_CFI_DRIVER #define CFG_FLASH_CFI #define CFG_FLASH_EMPTY_INFO #define CFG_ENV_IS_IN_FLASH 1 #define ENV_IS_EMBEDDED #define CFG_ENV_OFFSET 0x8000 /* Offset of the Environment Sector */ #define CFG_ENV_SIZE 0x4000 /* Size of the Environment Sector */ is anything wrong? is anthing to be added? my portwidth of my chip is 16bit but my buswidth is 32bit! Please help! -- View this message in context: http://www.nabble.com/AMD-29LV160DB-wrong-ID-t1385577.html#a3801893 Sent from the Uboot - Users forum at Nabble.com.