Skip to content

RFC: Move arch-specific global data into its own structure

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20121203145414.GE15777@bill-the-cat

Versions newest first

  1. v1 Latest0 of 57 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 57 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/57] RFC: Move arch-specific global data into its own structure
Quoted 8 lines · Simon Glass

Hi Wolfgang,

Quoted 5 lines · Wolfgang Denk

Dear Simon Glass,

Quoted 2 lines · In message <[email protected]> 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]

Quoted 6 lines
Quoted 3 lines

- 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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121203/8c1e4c58/attachment.pgp>