From: Tom Rini Date: Mon, 3 Dec 2012 07:54:14 -0700 Subject: [U-Boot] [PATCH 0/57] RFC: Move arch-specific global data into its own structure In-Reply-To: References: <1353100842-20126-1-git-send-email-sjg@chromium.org> <20121120072517.295652003D0@gemini.denx.de> Message-ID: <20121203145414.GE15777@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 20, 2012 at 06:06:30AM -0800, Simon Glass wrote: > Hi Wolfgang, > > On Mon, Nov 19, 2012 at 11:25 PM, Wolfgang Denk wrote: > > Dear Simon Glass, > > > > In message <1353100842-20126-1-git-send-email-sjg@chromium.org> you wrote: > >> The previous generic board series hit a snag in that we needed generic > >> code to access some of the architecture-specific fields in global_data. [snip] > > - The change makes the code less readable. Reading "gd->arch." > > instead of plain "gd->" is no improvements, but rather vice versa. > > If we really go this way, this should be improved. > > Yes it would be nice. Are you suggesting some sort of macro, or > something else? Wolfgang? "global data, architecture specific goo, ..." reads fine and helpful to me, honestly. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: