From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tolunay Orkun Date: Wed, 01 Nov 2006 11:47:11 -0600 Subject: [U-Boot-Users] Sector size with CFI driver? In-Reply-To: <4548D228.8060103@freescale.com> References: <4547AB63.8090802@freescale.com> <200611011406.36814.sr@denx.de> <4548CC8F.1040001@freescale.com> <4548D228.8060103@freescale.com> Message-ID: <4548DD9F.8090001@orkun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Timur Tabi wrote: > > Ok, I put the above change into cfi_flash.c, and now it works! Can > someone explain to me why? Does U-Boot not normally support "top > boot" flash? If so, is there a better way of doing this? > I know U-Boot support both "top boot" and "bottom boot" as I used an top boot Intel flash on our board until hardware guys replaced it with the bottom boot version that we actually wanted (we used smaller sectors for U-Boot environment). As I pointed out in my response to other message your flash part is returning the geometry in reversed order.