[PATCH] add-gta02-pcb-revision-detect.patch

Werner Almesberger werner at openmoko.org
Wed Apr 2 23:03:40 CEST 2008


Andy Green wrote:
> int gta02_get_pcb_revision(void)

Hmm, let's do this later. It's good to cut dependencies on u-boot, but
having parallel mechanisms to determine the board version just leads to
madness.

In particular, the revision should be stored in a global variable, like
system_rev we have now, and then all references to system_rev should be
changed to that new variable.

Or, alternatively, we can just modify system_rev in gta02_machine_init.

- Werner




More information about the openmoko-kernel mailing list