From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?= Date: Tue, 20 Jul 2010 10:33:25 +0800 Subject: [U-Boot] [PATCH] move the flash setup to "#ifndef CONFIG_SYS_NO_FLASH" In-Reply-To: <20100719185532.AEAA0153A81@gemini.denx.de> References: <1279509256-4524-1-git-send-email-xiangfu@openmobilefree.net> <20100719185532.AEAA0153A81@gemini.denx.de> Message-ID: <4C450AF5.6000507@openmobilefree.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi ok. I will set them to 0 in my board. thanks. On 07/20/2010 02:55 AM, Wolfgang Denk wrote: > Dear xiangfu, > This is not a good idea, as it will leave the bd->bi_flash* variables > uninitialized. Rather explicitly set these to 0, please. > > Best regards, > > Wolfgang Denk > -- Best Regards Xiangfu Liu http://www.openmobilefree.net