From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiangfu Liu Date: Tue, 13 Oct 2009 09:35:42 +0800 Subject: [U-Boot] some question about mips/board.c? Message-ID: <4AD3D96E.4040609@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi why the line 354 not include by ifndef CONFIG_SYS_NO_FLASH. I defined CONFIG_SYS_NO_FLASH in my board head file (qi_lb60.h). this line make compile error. thanks for help. in the lib_mips/board.c -------------- 347 #ifndef CONFIG_SYS_NO_FLASH 348 /* configure available FLASH banks */ 349 size = flash_init(); 350 display_flash_config (size); 351 bd->bi_flashsize = size; 352 #endif 353 354 bd->bi_flashstart = CONFIG_SYS_FLASH_BASE; you can find our source code at http://projects.qi-hardware.com/index.php/p/qi-u-boot/ -- Xiangfu Liu Email: xiangfu at qi-hardware dot com Web: http://www.qi-hardware.com