From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 7 Oct 2010 17:26:55 -0400 Subject: [U-Boot] [RFC PATCH 1/2 v2] nand: allow delayed initialization In-Reply-To: <20101007193544.33CEA153A7E@gemini.denx.de> References: <1285112736-15121-1-git-send-email-vapier@gentoo.org> <201010071300.28379.vapier@gentoo.org> <20101007193544.33CEA153A7E@gemini.denx.de> Message-ID: <201010071726.57488.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, October 07, 2010 15:35:44 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > Do you plan to post an update? > > > > there isnt a clear indication of where to take this. seems like we want > > to do this, and we want it as the default moving forward, but we want > > all existing boards to be unchanged. so only reasonable way would be to > > invert the logic, add a define for the arch lib/board.c files, and then > > add that define to all existing boards. > > I don't think we want to modify 550+ Board configurations and re-test > on that many boards... it would be ~100 boards. board_init() is only called when CONFIG_CMD_NAND is defined. so it should be as simple as: sed -i \ '/define[[:space:]]*CONFIG_CMD_NAND/i#define CONFIG_NAND_EARLY_INIT' \ include/configs/* > I think we should rather enable the new feature by some #define, and > recommend to enable this on new boards. problem with recommendations is that people dont notice them -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101007/1cac9095/attachment.pgp