From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Thu, 30 Nov 2006 11:24:49 -0600 Subject: [U-Boot-Users] [PATCH] use CFI-Flash and board depended driver together In-Reply-To: References: <456EE943.3010003@freescale.com> Message-ID: <456F13E1.2070901@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jens Scharsig wrote: > No, if CFG_FLASH_BOARD_DRIVER is not defined cfi_xxx functions are not > defined in orginal cfi_flash.c. In this case all other uboot moduls can > call functions under orginal names. Ok, I get it now. But all you're basically doing is hiding the CFI flash routines. The flash commands in cmd_flash.c are only going to call the board-specific routines and not the CFI routines. -- Timur Tabi Linux Kernel Developer @ Freescale